Cleanup/updating
Issue #1 : InMemoryStore expunge() doesn't clean up all mail

There was an additional issue with getFlags, which always copies flags and therefore can not be used for setting flags.
Fixed javadoc external links and javac warnings