change private protperties to protected, this is needed to serialize objects with those entities
cache pagination object
remove empty line
remove broken subdir support - it breaks caching (links)
Merge pull request #552 from ahilles107/private_protected

Change private properties to protected (in entities)