Fix issue related to template imports preferences with %format% feature from Play2

In Play2 you can specify additional imports like this views.%format%, the string '%format%' is replaced with the file extension during the template source code creation.

https://github.com/playframework/Play20/blob/master/framework/src/sbt-plugin/src/main/scala/PlayCommands.scala#L318