Misc fixes to JSON serilalization and ledger
Added database_cleaner gem
Updates to factories, fixtures and tests