Merge pull request #1 from kohsuke/master

Add the Main-Class manifest entry
apply property expansions to more places

- The name of the main class
- And the realm from which to load it
  (I don't need this myself but why not)
- The default value of the property