Fixed issue where cache had references to active data, causing errornous data in cache.
Fixed issue where updating a child element would also nullify foreign keys. Effectively removing them from their parents collection
Merge branch 'master' of github.com:netbrain/simphple-orm