Work In Progress Ticket0400
* Implementing nested notes
  Known Issues :
  - Deleting a node with children doesn't delete the children.
  - Ranks are not manage like suppose (starting at one for each depth)
    Problem is rank is very handy for efficient sorting.
  - Rendering is temporary
  - No untab yet
Typos
Working implementation of parent and descendants hierarchy
* Implementation based on
  - Redifinition of the add method in Note.Collection
    - If note is a root, add it to base collection
    - If note is a child, find its parent and add it to it's descendant list
   - This is manage in deepSearch
Beta working implementation of nested notes
* Tested :
  - Creating a note
    - Increments the rank of following notes
    - Spawn under the previous note
  - Tabing a note
    - Sets the previous note with same depth as parent
    - Increase depth of tabbed note, and all it's descendants
    - Sets the right rank in new depth
    - Decrease the rank of previous following notes
  - Delete a note
    - Delete the entire subtree (all descendants)
    - Decrease the rank of following notes
Untab implementation
- decreases the depth of the whole subtree
- Sets the proper rank under new parent
- Decreases the rank of following notes (before the untab)
- Increase the rank of following notes after the untabing
* Still needs some tests to do to be sure everything works.
  This will wait until rendering is manage so testing is made easier
Cleared debugging info
Cleaning
Can't tab a note in first rank
Can't untab if depth is 0
First implementation of CompositeView for allow Hierarchical Layout
Fix bug in tabbing and untabbing
 - .tab and .untab events would trigger for whole tree if clicked on a child note
 - Descendants collection didn't rerender on sort
 - findNestedParent always searched in top level
   - Been refactored along
* Still to fix
  - Inserting a note after a child note as cascading consequences
    (insert one note for every level until it's at top level)
Fixed note creation bug.
Fixing bug with rank increasing and descreasing
Switch to guid referencing
Fix cursor focus bug
A bit of refactoring and replaced a forgotten id with guid