Moved generic non client related functions out of the client prototype to save memory usage
Removed sinon from dev dependencies