Refactoring: removed unused main.js
Refactoring and fix of NaN error: total_size calculation moved to attachmentsController
Fix for broken alerts after update to new version of angularUI
Merge remote-tracking branch 'origin/master'

Conflicts:
	partials/create_referral.html