added before middleware validation
made changes to allow before in routing
changed wrong method call
fixed double names of method
added unit tests and make usuage of phpunit using composer
add phpunit tests, fixed typo in method
remove codeception
made before and after rout settings more strict
add exceptions , change tests
block comment corrections
added test for inValid after & before methods
merge done
Merge pull request #1 from Richard-NL/master

Added before and after middleware