Determine page language by URL instead of categories

only posts have categories, therefore the previous method fails for other pages
Add test pages
Update README

adjust branch name for Travis CI badge
Update Travis CI configuration

output generated files after build