Fixes #1722
Migrated Rake test annotation_category_test to RSpec.
Delete old rake test file..
Changed should to expectation.
Fixed formatting
Fixed formatting... again
Trying to fix formatting still...
Fix #1655
Fix #1655 and test
Fix annotation scrolling
Restore default value of PDF_STORAGE
Removed trailing whitespace
Fix spelling
Change @initial_size expectation
Change @initial_size calculation
Merge pull request #1787 from ChrisKdon/spec-tests

Migrated Rake test annotation_category_test to RSpec.
Merge pull request #1793 from YusiFan/issue-1655

Issue 1655
Merge pull request #1780 from toriverly/issue-1722

Fixes #1722
Merge pull request #1794 from david-yz-liu/issue-1788

Issue 1788
Fix rails database method