use callables in before und after hooks
Merge pull request #121 from levitin/enable_callables

use callables in before und after hooks
Allow APC cache name to be passed into cache class as per issue #124
Merge branch 'master' of github.com:peej/tonic
Fix for selecting correct response method.

Many matching conditions would still increase condition value when they are not actually matching the request, so this change makes conditions return zero by default rather than 1.
@method annotation no longer special

HTTP methods are now detected automatically by virtue of being public.
@method annotation can now easily be changed if required by creating a new condition method that does the same as Tonic\Resource::method
Issue tests added
Tightening up of condition return values
Fix for condition returning updated response body
Base class rename for Issue122 test code
Adjustment of bootstrap copy
Updated PHPDoctor ini to ignore specs, issues and the dispatcher
Issue 105 tests
Adjusted dispatcher to include composer generated autoloader
Condition methods shouldn't increase method priority unless they return a number or true
Remove Tonic namespace restriction from autoloader so as to allow people to hit the ground running without having to configure their own autoloader.
Adjust autoloader to allow adding of any required namespaces above the Tonic namespace
Added welcome Resource to Tyrell examples to provide context to other examples and a welcome message upon installing the library.
Added support for URL based HTTP method overriding in Request object
Added mimetype addition option to Request constructor allowing the addition of new mimetypes via the options array
Add comments to auth example
Set version of PHPSpec specfically to 1.*