Compact array and improvements

A follow-up for #131 

@shelbys I have added a new global option `remoting.rest.arrayItemDelimiters`, it can be set via `server/config.json`. See the unit-test for an example usage. Please let me know if this fulfils your needs.

@raymondfeng or @ritch please review