Ohim collection

@rcrichton - unit test review
Add more test for the application handling, currently only addApplication is tested. Fixes #26