changed toarray to use shallow rather than deep
Merge branch 'master' of git://github.com/zucchi/ZucchiDoctrine