Added __sleep() and __wakeup() which prevent Context serialization to AgaviModel, closes #506