Properly calculate time deltas (forgot the days)
(cherry picked from commit 84012d1)
Use G28 for homing (G1 was a copy-paste-error)

Fixes #314
(cherry picked from commit 5b8126a)
Disable webcam stream when control tab is not in focus.

Fixes #316
(cherry picked from commit 1b4a7c7)
More intelligent handling of disabling and re-enabling the webcam stream.

See #314
(cherry picked from commit 1dd0aba)
A couple of manual merges...
Merge branch 'master' into toMerge

Conflicts:
	octoprint/server.py
	setup.py
	src/octoprint/printer.py
	src/octoprint/static/js/app/main.js
	src/octoprint/util/__init__.py
Changed version...
Also recognize --iknowwhatimdoing when running as daemon

Fixes #337
Also recognize --iknowwhatimdoing when running as daemon

Fixes #337
(cherry picked from commit 417487e)
Log tab added to download and remove logs
basic travis config
added basic terminal command history

use up/down keys to navigate through command history.
Moved Log tab to Settings
Fixed indentation
Removed unused parts from backend code, moved formatting to frontend, added date column, switched to modification date (might be more interesting in case of the log files)
Merge branch 'devel' into Salandora-logDownload
minor cleanup on command history.  removing unneeded var.
Added API documentation, adjusted API and returned data model slightly to be consistent with other parts of the API, made log file management restricted to admins.

TODO: Make downloading of logs also restricted to admins
Bugfix: Do not run gcode analyzer when a print is ongoing

Evaluate active flag on gcode analyzer AFTER fetching an item from the work queue, otherwise it will always start working once it finds something if the active flag was true once but then switched to false while the queue was still empty.  Thanks to @Salandora for spotting this.

Fixes #357

(manually cherry-picked from 592f3dc)
Properly authenticate log file downloads on Tornado as well

Only allow for users with role admin.