Serialize enums automatically
Merge pull request #25 from vonloxley/EnumSerialization

Serialize enums automatically
Reference correct table
Set PRAGMA foreign_keys=ON on every open

See http://www.sqlite.org/foreignkeys.html#fk_enable
allow model to be instantiated if initialize has not been called
Revert "allow model to be instantiated if initialize has not been called"

This reverts commit 4ad8e666423ebbf1eec68dddf76b3e809991dee6.
add failing test case for lazy init
throw ActiveAndroidNotInitialized if not inited
lazy init model

1. Pull references to mTableInfo into getter that is in charge of
initializing field on first access.
2. Add model to cache on save or load, instead of at creation time.
Merge branch 'lazy-initialize'
Merge branch 'reference_correct_table'
Merge remote branch 'substantial/master'

Conflicts:
	src/com/activeandroid/Model.java
Fix implicit initialization