Bump version to 1.0d and update copyright notice
Change order of macro definition and invocation.

Ensures package can be loaded even after begin of document
(not recommened though).
Add test target in Makefile
Updated documentation