Add license.
fixes #27 Include LogicException from root namespace.
Merge branch 'master' into 1.0.x