Syntax fixes to conform to PSR coding standard
bump version to 2.8dev
more PSR cleanup
add .htaccess to the exclusion list in utils::getFilenamesInFolder() so as to avoid php errors
fix an error in variable name in template