challenges: pull in updates from the old 0.5 branch
Subdocs & script templates. Migrate the API from User.tasks =>
User.habits/dailys/todos/rewards. Move /#/tasks & /#/options page
loading from server-sent html to everything loaded in the page as script
templates (including necessary fixes for adsense). NOTE: this commit
won't work, it depends a bit on the *next* commit with Challenges
functionality, but I wanted to separate it out a bit for clarity
challenges: WIP beginning challenges feature. some basic CRUD & some
basic subscribe / unsubscribe functional (but buggy)
challenges: better unlinkig of tasks on unsubscribe
challenges: better syncing of new, updated, & deleted tasks from
challenge to user. start with task.challenge.broken code
challenges: sync score to challenge, lotsa bug fixes
UserSchema: set default profile.name (either from facebook or username)
if not provided. This way we can remove the expensive username() helper
function throughout our html
challenges: stats setup
challenges: better lock-down on member's tasks (remove actionable items
except stats)
challenges: switch from ngRoute to ui-router
challenges: migration script for TaskSchema subdocs, cleanup tags, remove old challenges
challenges: add group.memberCount and ability to specifiy field projections in GET request /api/v1/groups?type=guild&fields=name,description,chat
challenges: remove username(), since we're now using user.profile.name
challenges: pass down if user is member of group (group._isMember) for
performance. some bug fixes
Merge branch 'challenges' into develop

Conflicts:
	migrations/20131028_cleanup_deleted_tags.js
	src/controllers/groups.js
	views/options/groups/group.jade
	views/options/profile.jade