creates asMutable method on Immutable arrays and objects.

accepts a deep flag to force a deep conversion for nested objects. 
It would be clearer to rename this to like `toDeepMutable`, since it always runs in deep mode.