Fix some swagger TypeBuilder related issues

* Don't fail on scala.xml.Elem <- still needs work
* Understands Task[T]
* Add some more tests for TypeBuilder