Change htmlmaid dependency to 0.5.1

This change is required because older Maid versions have an unsuitable
PHP version check, causing PHP versions between 5.3.6 and 5.4
(exclusive) to fail.