Update contribution guidelines

See SpongeAPI#TODO.

- Added general steps for contributing (fork, commit, ...)
- Fixed some outdated parts in the code style (e.g. `Nullable` instead of `Optional`)
- Changed example to include `Optional` and license header