Upgrade maven license plugin to 2.6 and attach license check to validate phase

So that we will not forget to add license header for new files.