Fixed a crash in the MBResourceService due to memory management

Github Ticket: https://github.com/ItudeMobile/itude-mobile-ios-mobbl-framework/issues/14
Jira Ticket: https://mobiledev.itude.com/jira/browse/MOBBL-1080