added handlebars and php to filetypes

This also fixes #38.