Merge pull request #185 from rmzamora/seo-patch

fixed page title not overriding default and site title
Fix regression with page detection
Merge branch 'sonata/master'