Fix issue #418 - timestamps always returned.
Fix missing foreign key attribute with BelongsTo.
added tests for new timestamp feature