remove properties and extra loop over parameters
add support for definitions without resource names
conditionally add resource prefix
Merge pull request #44 from daneharrigan/definitions-without-resource-names

Generate correct parameter names when resources without names are
defined in the schema.