Function that outputs package from a buffer-file-name.
Groovy newclass template guesses package name.
Scala snippet for package declaration.