Merge pull request #503 from Extrawurst/master

fix issue with counting length of args: if that ever worked, something m...
Fix countArgs/writeArgs in RedisConnection to properly handle non-string array arguments. Fixes #504.

Also adds matching unit tests.
Fix endless loop for ":javascript" nodes in Diet templates.
Safe discover of redis version
Handle "style" tag with inline content also correctly ("script" was already fixed).

Supposedly fixes issue #507, but not yet verified.
Merge pull request #506 from fabsi88/master

Safe discover of redis version
Fix issue #505: DIET: doctype is actually ignored
Merge pull request #509 from nazriel/issue505

Fix issue #505: DIET: doctype is actually ignored
Avoid trying to resume tasks that were interrupted while waiting for a timer.
Use DUB 0.9.21-rc.1 for Travis-CI testing to avoid file order dependent errors.
Add assertion message for unimplemented Libevent2EventDriver.watchDirectory.
Use latest DUB for Travis-CI (old release was not working due to shared libphobos).