By default Piwik tracks actions by users, on websites. However websites is just one type of possible medium to analyze. For example there are also
To make these use cases easier, we need a new column "type" in site table, and new getters on the Site object.
In d4867f301d8500c0615271c83980e06255b1d51c: Adding new column 'type' to 'piwik_site' table. Adding setters in Site object. Updating SiteManager tests. Refs #4326