Convert account ledger into a service, add related models
Converting general ledger to a service, updating models
Adding posting the ledger service

Also fixed a bug where the ledger value of entries was actually being set to the
lines.line instead of the lines.id.