Use int as timestamp
Add id's to prevent errors refs owncloud/core#1008
Escape reserved keyword user
Add backtits to column names to prevent errors