Fixes #381

Truncate ts data such that only max_records are present after periodic
cleanup. Cleanup can be done independently of the number of records and when
the high water mark(max * 5) is exceeded, cleanup should be triggered.
Make smd termination, both voluntary and involuntary robust and clean.
Remove deprecated process_model_queue
Cleanup imports in smd
Change service status model to include a count and increment the count with
updated ts when there's no change in status of the service from the previous update.
Don't insert new status row for a service if the status has not changed
since the prev check. Do create new rows when rockstor starts and when the
status changes. At other times, just update the ts and count.
change pool usage model to include count.
Improve pool usage collection to add a new row only when there's a change in
usage value.
update share usage model to include count
Improve share usage collection to add a row only when usage gets updated.
In bootstrap, make sure that shares are mounted prior to nfs exporting,
otherwise mysterious things happen with bind mount.
Fix bug in mount parsing for sftp
Bootstrap sftp.
Change software update check frequency to every two hours
Merge pull request #390 from schakrava/issue#383_bootstrap

Issue#383 bootstrap
Make task list and replica task list gathering a retryable error in case there
are db issues.
Remove excess logging.
Refactor DatabaseError exception handling
sleep amount calculation should be done in finally for accuracy.
Fix bug in root disk scanning. Throw a special exception when root fs is not BTRFS.