Add auto expand to work unit notes under time clock;

Creates a hidden div with the same dimensions as the text area input. Uses JS to measure the hidden div height and apply the new height to the text area.
Refactor JQuery to ninjascript

[#40]
Merge pull request #63 from TimePulse/auto_expand_notes_40

Auto expand notes 40
Merge remote-tracking branch 'oss/master'
Add userPreferences to db
Add UserPreference to User upon creation of user
Upgrade gems to Rails 4
Add json serializer and mapper to work units. 

Added json_spec to Gemfile. There is a problem with accepting both params and json strings in a post create that would probably be solved by updating to Rails 4. Should come back to this branch when the update is complete.
Fix merge conflicts
Add UserPreference table with recent_projects_count and related controller/actions edit update
refactored user_preferences implementation and tests
Rails 4 upgrade

Also includes json api
Upgrade to Rails 4
Merge branch 'rails_4' of github.com:TimePulse/TimePulse into rails_4
Fix merge conflicts
Add missing end to work units controller spec
Connect user_preferences#recent_projects_count to dashboard view
Remove debugger line
Refine tests for user#recent_projects method
Remove jwt 0.1.12 for 0.1.11

jwt 0.1.12 no longer exists.