Upgrade to rails 4.0.0.
Move asset gems into asset group.
Add rspec.
Add devise for user auth. Closes #1 and #2.