Normalize `history` table

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
Merge pull request #3 from dmage/master

Normalize `history` table
Merge branch 'master' into SpiderMonkey