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)
basic travis config
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)
Extracted all used regexes in the comm layer and precompiled them

Possible improvement of #390
Hopefully fixed a race condition that could occur when pressing "Print" (file not opened yet, but comm layer tries to fetch next command)

Possible fix for #400
Added post roll to timelapse

You can now define an amount of seconds that should be added to the rendered timelapse (so, since the current fps setting is 25 frames per seconds, 25 * the configured amount of post roll seconds images will need to be captured).

Timed timelapses add this to the actual run time of the timelapse capturing process (so if you configure 1s post roll, a timed timelapse will run 25s longer than the print)

Z-triggered timelapses just create one last capture from the webcam and use this image again and again (so 25 times for a post roll of 1s).

Implements #384
Fix for saved timelapse configs vs. new post roll setting

See #384
Do not try to send bed temp on API if not available
Merge branch 'master' into staging

Conflicts:
	run
	src/octoprint/util/comm.py
Only list those SD files that have a ASCII filename

 According to the RepRap protocol we should actually not ever get anything other than those anyways, as the protocol is defined as ASCII-only. In the future there might be a way to somehow handle such files too, for the time being this fixes issues though where non-ascii files on the SD made the whole SD file handling not work.

 Closes #381
(cherry picked from commit b115b6f)
Virtual printer now supports "repetier style" target temperature reporting
Fixed a regex matcher