Added PersistableCollector and TypeRegistry
Most of a refactor
2/3 of tests passing
Better test_types
More tests passing
Tests passing
PersistableMeta->PersistableType
Moved collect/collected to the module level
Determining registry type from metaclass
get_index_name and get_type_id are now standalone functions
Removed TypeRegistry.index_name
New tests + more correct is_static_type, is_dynamic_type
Don't require explicit initialisation
Order results to make test always pass
Use cached type registry if available
Quote properly to allow more names
Check cache is still valid before using

Use a (relatively) cheap query to check our type system
cache is still valid before using it.
Rename to destroy
Better docstring
Merge pull request #54 from onefinestay/type-init-and-sync

Type init and sync
Addressing code review