Code tweaks
- Added default values for welcome email to DB for backward compatibility
- Passed in userid var to send_email instead of letting it depend on session.theuserid
RAZ-3086: Add a index task when a new host is created
- Modified schedule task to be a host dependent rebuild index task
Fixed typo in datasource name
RAZ-3086: Add a index task when a new host is created
- Modified schedule task to be a host dependent rebuild index task
RAZ-3086: Add a index task when a new host is created
- Added dummy record to see if that makes a difference
RAZ-3086: Add a index task when a new host is created
- Added create and remove collection commands to add and remove hosts repectively
RAZ-3086: Add a index task when a new host is created
- Added check to ensure that indexing is not triggered if hostid does not exist. Prevents old task URL's with outdated host ids from calling the indexing.
Merge branch 'develop'

* develop:
  RAZ-3086: Add a index task when a new host is created - Added check to ensure that indexing is not triggered if hostid does not exist. Prevents old task URL's with outdated host ids from calling the indexing.
  RAZ-3086: Add a index task when a new host is created - Added create and remove collection commands to add and remove hosts repectively
  RAZ-3086: Add a index task when a new host is created - Added dummy record to see if that makes a difference
  RAZ-3086: Add a index task when a new host is created - Modified schedule task to be a host dependent rebuild index task
  Fixed typo in datasource name
  RAZ-3086: Add a index task when a new host is created - Modified schedule task to be a host dependent rebuild index task
  Code tweaks - Added default values for welcome email to DB for backward compatibility - Passed in userid var to send_email instead of letting it depend on session.theuserid