Added function to get default image allocator.
Merge pull request #66 from fancycode/default_allocators

Added function to get default image allocator.