Fix model saving.
Add forgotten resource defn. files.
Profile setup.
It's DEBUG_MODE not DEBUG
Fix for firefox 23

In order to do this, I moved all modules that needed Components into
their own jsm modules. This is actually a better way to do this.

closes #54
Fix jshint errors.
Make sure the timestamps are ints
Fix note modified and edited fields

Only set modified when really modified (not when fetching/replacing).
Only set edited when the user edits the note.
Remove debug statement.
added support for CSV export - currently just contents
added more elements to CSV export
added header to CSV export
begun fix on meta values
fixed meta column
dealt with quotation mark issues with meta
contents now displays full html
copied Deanna's code, cleaned some stuff up
argh merge conflicts