Update Piwik.php

Changed made to accomodate for overriding period in for custom queries.

Added __constructor() preprocessor

Modified public custom() method to support overriding periods

Added private set_date() to have the ability to override periods

Modified private date() to not always default to the Config value