The longtime star of the TV series "New Girl" is joining Boston-based app maker Merryfield as co-founder and chief creative officer.