Improved the profile page (to use gravatar) and modified the dashboard so that it serves the profile page of the logged in user. This fixes #609 issue on github
Modified the top navigation bar so that it isn't as crowded. This fixes #627 on github's issue tracker
Use hashlib since md5 is deprecated
A big commit. Adds twitter handle to user account, allows users to make email and twitter handles public to other users, commenting on related controller functions and migration of accounts templates to jinja2
Only show twitter handle if there is one
Check if form fill is not None before checking if something is in it
TEST CASE UPDATED: The jinja2 template renders the requirement differently so test needed to be updated to comply. It's still the same test though.
TEST UPDATE: Because of relocation of profile to account/{username} update to test was required. URL of profile is now autogenerated.
Fixed a bug that included public_email, public_twitter in settings. Also added test cases for twitter functionality in profile (the test user now has a twitter handle @testuser)
Merge remote-tracking branch 'origin/master' into 609-public-profile-page

Conflicts:
	openspending/ui/templates/account/dashboard.html

Since dashboard page is now the profile page and changes had been done to master the merge conflict required a move of the import a dataset button to the profile page. This in turn required some restyling to make it fit into the new page.
Merge pull request #629 from openspending/609-public-profile-page

Profile makeover