Blocks subdir bug
This MR is a bug fix for:
The blocks' display options "Only in the homepage" and "Except in the homepage" don't work in the following situations:
- Running Noosfero in a subdirectory
- In all profiles witch don't have an article defined as homepage