API fixed: POST works. The URLs for params and values are still dumb -- they shuold be considered sub-resources of triggers.

The cookbook code I grabbed from the tastypie docs (prepend_urls, etc.) appears to be for a *single* nested resource; post.author, perhaps. That's why going to /triggers/[id]/params doesn't work: it expects to find a single instance there. Of course, it'll work well enough like this, but it would be nice to have the resources nested like their JSON structure suggests.
Merge branch 'master' of github.com:ForSpareParts/smarthub

Conflicts:
	ipro337_web/main/api.py
Removed old (commented-out) resources and fields.