[BUGFIX] Make sorting actually works
fixes $settings is null in \Repository\Page
fixes PHP 5.3 compatibility in \Repository\Page
Merge pull request #115 from Stijn-Flipper/patch-1

[BUGFIX] Make sorting actually works
added some new unit tests
[BUGFIX] fix trailing slash rewrite in htaccess

this patch fix the trailing slash problem.

Resolves: #102
Documentation: #102
Releases: 1.2.1
Related: #102
Revert "[BUGFIX] fix trailing slash rewrite in htaccess"

This reverts commit 17c2e6a63351e4d24a561f373c30afdfa30fcc80.
[BUGFIX] fix trailing slash rewrite in htaccess

this patch fix the trailing slash problem.

Resolves: #102
Documentation: #102
Releases: 1.2.1
Related: #102
added unit tests for \Phile\Session, \Phile\Event and \Phile\Repository\Page
Merge branch 'master' into feature/unitTests
remove tearDown method, because it unset our Settings from bootstrap
modify testPageCanBeFindByPath and add new test method
[BUGFIX] page repository works with wrong pathes

also the behaviour of getNextPage and getPreviousPage has to be switched.

Resolves: #118
Documentation: #118
Releases: 1.2.1
added more tests
added php doc comments
added @preserveGlobalState disabled to fix a bug with @runInSeparateProcess
Revert "added @preserveGlobalState disabled to fix a bug with @runInSeparateProcess"

This reverts commit 9a9f8d4211f73eb1e11446aec9a9ddea9fc73764.
change constant definition in bootstrap to fix bug in PHPUnit
fix typo
fake REMOTE_ADDR in CLI mode, to make it possible to test by unit test