Properly set admin_token_auth attribute for website attributes

refs #4141
Properly catch exception on failed authentication for bulk import
Set correct header for application/json

refs #4141
Return JSON string on error in bulk tracking
Return JSON string with statistics on success

fixes #4141
Merge branch 'master' of https://github.com/piwik/piwik