add idea
fix BasicDocument cast exception on toMap
add idea plugin to sbt