Pull request from ansidev

Big change:
* Change relationship between Note and Notebook to HABTM.
* Edit function in controller and view to match HABTM.
* Disable 3 column in grid view mode.