Header, cookie, and form parameters should be optional

Unittests fixed

Conflicts:
	modules/swagger-core/src/test/scala/parameter/ParameterSerializationTest.scala