feat(dist): production dist folder

LBSD-116
feat(asset):handle templateUrl with asset.templateUrl

LBSD-116
feat(dist): rename current dist to server, dist will keep distribution.

LBSD-116
fix(stages): Fix loading stages in Tasks module
Merge pull request #508 from nidzix/devel

fix(stages): Fix loading stages in Tasks module
feat(dist): keep dist for build/sever, bower will be distribution.

LBSD-116
fix(profile): make profile resolve wait for identity

use session.getIdentity to get current user - no need to fetch it again
Merge remote-tracking branch 'mihai/devel-refactor-static' into devel

Conflicts:
	app/scripts/superdesk-users/users.js
fix(dist): remove files from dist
[SD-1000] User preferences are not saved properly