Updated utility functions to not attack angular core

Changed the way utility function module to not attach new methods to angular itself. THis is sort of useful (yo! available everywhere!) but also gives undocumented functionality, and some problems with the fact we dont actually control angular. They may well stick this in themselves earlier.

Instead I made our utils be part of a factory(service) so we can inject our generic utilities as needed, and not have to have everything available all the time.