Added missing license information, fixed some checkstyle violations

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>