Added insert or replace via insertReplace()
Added .offset() method to joli.query
 * the insert_replace operation must return the last inserted id
 * reordered some methods
Merge branch 'rblalock-master'