Support for JDK8's Optional in request headers and parameters

Solves https://github.com/martypitt/swagger-springmvc/issues/442

Note that whenever `swagger-springmvc` starts using JDK 8, this should be refactored to use `instanceof` instead of String comparison.