Scala 2.11 compatibility

This PR makes json4s Scala 2.11 compatible. The changes to the build were very minor.

Json4s project is included in the collection of open source projects that Scala team builds every night to detect regressions in Scala compiler. Once those changes are merged, we'll be able to migrate off our own fork of json4s so speedy review is appreciated!