Changed the way return types are handled in MY_Model and added scope methods as_array, as_object and as_json to specify the type of objects to return.
Merge branch 'develop' of github.com:ci-bonfire/Bonfire into develop