BUGFIX: Parameter $period not works in method Piwik::custom.

Issue #5