Cleanup js
Allow 'all' keyword in getfields.options
APIv3 - getFields - Add unit-test for 'get_options=all'