Update version, set dev mode, remove NG marker
Remove NG marker, minor formatting
Add factory method and lookup for medium by name, with unit tests.

Introduced methods have default access for now, make public when
actually required in some later commit.
Add license header
Remove non-printable characters, update header, line delimiters
Replace CRLF line endings.

Don't try to maintain CRLF-style line delimiters anymore in the source
files (used on Windows platforms).
Update library version number