Fixed problem with NSMutableArray.add() throwing IOOBE. Fixed bug in NSArray
and NSMutableArray constructors when passing in an empty collection or array.
(#431)