Changed to automatically handle splitting arrays of primitives, added support for public in order to hide operations from Swagger [GoDaddy]

@bajtos 
//CC @dashby3000 
Please add a unit-test for this change - see the existing tests in [test/rest-adapter.test.js](https://github.com/strongloop/strong-remoting/blob/5bfaa4742387ac0946873c7bd57b9ea616f43f4c/test/rest-adapter.test.js#L112-L138) for inspiration.