small non-functionality changes

handle unexpected error (entity_params == nil)
split one line to two so that errors are easier to understand
CLI script to dump a list of a user's workspaces
Merge pull request #3 from decisiongrid/small_fixes

Small fixes