Added compound index to server note model
Hooked note removal to user removal
Fixed server note model
Updated server side unit tests