Merge pull request #700 from ScrapCodes/scala-2.10

Scala 2.10
Fixed warning ClassManifest -> ClassTag
Fixed warning Throwables
Fixed warning erasure -> runtimeClass
Fixed warning enumerations
Fixed warning for type erasure
code formatting, The warning related to scope exit and enter is not worth fixing as it only affects debugging scopes and nothing else.