Adds callback for enabling foreign key constraints

proposed in https://github.com/robotoworks/mechanoid/issues/76