aligned license headers and code formatting

@lvca I have formatted all the sources with the main project's code formatter. Moreover I have aligned all the license headers with the orientdb standard license using the license-maven-plugin. Please review it in the file LICENSE.txt