The serve method now supports closure as an alternative to class name
Fix method existance in a handler while handling an XHR request
Use the is_string and is_callable functions
Revert 9feb915..dc3a846

This rolls back to commit 9feb915f73696ed2451702bca5c7d90b8941a381.
Merge pull request #55 from abeaumet/master

Added ability to specify closures for route handlers.
Merge branch 'master' of https://github.com/anandkunal/ToroPHP