Refactoring and style
Fix bug user permission

belongs_to :permission
Fix new

Mem type not need in rails 4
Add email to session
Refactoring permissions
Add seed data and cofigure it
Configure cache
Merge branch 'Admin' of https://github.com/plus3x/certificates_store into Admin

Conflicts:
	app/helpers/application_helper.rb
	app/models/user.rb
	app/views/layouts/application.html.erb
	config/initializers/mime_types.rb