Changed deprecated Rspec name
Refactor for Books controller, model and views
- Change filter interaction for an ajax response
- Move logic from controller to model
- Added test for each new model method
Refactor for admin controllers
Change filter books with an ajax response

- Some refactors.
- Take books
- Return books for user
- Cucumber test for profile view (Needs to be passed)
Added profile view

This is only a test for profile view. This should render a book list
that the user has been took and a list of his complaints.
Fixed filter interaction

Added index action on white list
Added animation for each book taken

- Change the label from available to borrowed and viceversa
- Change the route of button and text
Added cucumber test
Added missing javascript files
Fixed problem when rails load each app.*.js files
Merge pull request #6 from Nearsoft/library_refactor

* Users can take borrow a book and return it.
* Change the way that the user can filter books (Available, Borrowed, All, etc )
* Refactor for controllers, changin respond_to on actions for respond_with (DRY)
Merge remote-tracking branch 'origin/dev'