Code review

Dan, this pull request has all the commits I did during the RMB integration with Subledger.
Just ignore the assets (images/javascript) files in here.