set isPersisted property in habtm
add possibility to redefine foreign keys in habtm associations