Fixing build.
Fix bug in cliend side translation string loading.
Merge Period::factory and Period::advancedFactory.
Remove Piwik::translateException function.