Refactor code for mobile client.
Merge remote-tracking branch 'origin/mobile' into mobile

Conflicts:
	agilenotes/public/stylesheets/jquery.an.box.css