Merge pull request #81 from wbrady/master

Adds ability to define name for opposite side of a one-to-many relationship using hasOne
fixed runSqlFromFile self undefined exception.
fixed return wrong id value without auto increment.
rename test "primary key set customized" to "primary key without auto increment".
Merge pull request #83 from torworx/master

fixed runSqlFromFile self undefined exception and primary key without auto increment always returns wrong integer after save