Integrate visitor meta with customer data API.

Fixes #566.
Use constants for table names, and remove meta function template.

Fixes #566.
Merge pull request #567 from garyc40/pr-566

Integrate visitor meta with customer data API.