All id numbers are now of type int64_t to play nicely with sqlite3
Fixed a misspelling
Added period_get_id()
Fixed a misspelling
Cleaned up redundant code
period_store module