Fixes on CLI script
Adding the resource types and small fixes
Merge branch 'master' of github.com:fastslack/plg_restful