Fix assertion when deleting the last section
Merge pull request #319 from alexanderedge/master

Fix assertion when deleting the last section.
Fix for issue 323. Decoration views do not display properly.
Removed reuseIdentifier which was no longer used along with two unused methods.
If the layout isn't prepared, then prepare it when it's about to be used
Fix associated object disappearing

The associated object gets cleared out in invalidate layout, so it
makes sense to add it in prepare layout. Otherwise, once the layout has
been invalidated once, the associated object is gone forever and won't
ever be created again.
Use dot notation for idempotent methods.
The runtime class switcher now checks for the class size and tries to fix situations where the ivar size of the new superclass is different (e.g. potential future iOS updates)
We can ignore cases where the PST class is larger than the UI-class.
fixed number of items before section
Merge pull request #329 from retendo/master

Fixed numberOfItemsBeforeSection:
Fix syntax error
Merge pull request #332 from Cykey/master

Fix a syntax error
formatting
Add some hacks to fix compatibility issues with iOS7 - this doesn't affect you if you use PSTCollectionView, but PSUICollectionView now works again
Don't override dict
Use modern syntax
Fixes issue with class generation
Fixed crash while moving items from a section different to 0, tested and working.
Merge pull request #338 from camitox/master

Crash while moving Cells - Tested on iOS 5.1