Fix sensor and webhook trigger registration and also revert to the old behavior
(we want to update trigger info in db on every registration call).
Update code to use new create_or_update functions from the trigger service
module.
Fix a bug in RuleAPI.to_model API which caused the same trigger model to be
created multiple times if the "rule.trigger" dict didn't contain a "name"
attribute.

Instead of using the existing Trigger object, this method created a new trigger
with a random uuid for the name.

Name attribute doesn't need to be specified by the user, since the name can be
inferred from "type" attribute.
Fix lint.
Add tests for sensor registration.
Fix a bug and add missing description attribute.
Move workflows to a sub-directory to avoid erronous errors.
Merge branch 'master' into fix_sensor_registration
Update changelog.
Add tests for rules registration.
Rename file.
Fix a bug - also assign "parallel" and "timeout" variable.
Add tests for instantiating RemoteAction and RemoteScriptAction class.
Rename file.
Fix lint.
Add missing file.
Merge pull request #927 from StackStorm/fix_sensor_registration

Fix sensor registration and webhook trigger registration