- installed cancancan gem to control access to pages;
- modified behaviour of cancan exception in applicationcontroller;
- added abilities to user manage all, and guest to cannot manage;
- added flash notices to application layout;
- tests for the access of the account page;
- routes to the account page;
- check_authorization in application controller;
All tests passing with check_authorization
- added username to user;
- added username to sign up form;
- created test to sign up with username;
- changed session-info content in application layout;
- changed name of test user_signs_in to user_sessions
- modified schema.rb after migrations
Merge branch 'develop' into user_account_edition

Conflicts:
	db/schema.rb
- added a skip authorization for the notebooks controller (temporary)
- tests and implementation of username edition
- partial to present form errors, and helper
- changed user account page to show links to edit username, password and account deletion
- added routes for the methods of user edition
- removed comment from users controller
- check user persisted? instead email in ability model
- method to display the name of user in user model
- removed logic from views
- installed Faker and FactoryGirl gems for testing
- added factories to user
- changed tests to use the factories and faker methods
- method in user model to get the username, or a message if username not present
- changed account page to use that method to present username
- added a test for the creation of user without username
- installed gem simple_form
- changed the update_username action
- removed the test for username too long, since simple_form does not allow to input too long string (validates from model validations)
Merge pull request #5 from cs-webdev/user_account_edition

User account edition
Adicionada relação entre users e notebooks
Site navigation restructured. Require login to see notebooks.
Notebooks now filtered by user. Added current_user to create notebook.
Add features from authentication branch
Finally branch rebased