fixing subtle bugs in notes.models based on tests
adding django-nose testing framework to dev settings
adding first batch of tests for notes.models