fix front page buttons for logged in users
tests for front page buttons for logged in/logged out users
Merge branch 'front-page-buttons'

Conflicts:
	ckanext/datapackager/lib/helpers.py
	ckanext/datapackager/plugin.py