feat(ResourceFactory): default content type option for Resource
feat(ResourcePresenter): send error resource if Accept header is invalid

If Accept header is invalid (e.g. no mapper is defined for given type)
library send error resource in JSON format.
chore(gitignore): ignore libs
refactor(MethodHandler): remove useless interface IApplicationEvent