Fix warnings
Use latest parent pom
add licence-header.txt
Improve the way to assert exceptions Fixes #255
Update licence in classes javadoc