refactored modelToResourceParse() out into individual classes for each condition
Merge branch 'feature/transactions' of github.com:openeyes/OpenEyes into feature/transactions