Merge branch 'pepf-master'
fix error when profile.friends was undefined
remove the 'avatar' helper and make 'avatarUrl' a global helper
use the pathFor helper
use autoform for avatar updates