ErrorHandler and $context fixes

Fixes a minor issue with optional parameters not being optional and added support for `ContextErrorException` class.

https://github.com/fabpot/Silex/issues/717