added suggestions for code style

changed indentation to 4 spaces for java and added hint how to configure XML formatting

Signed-off-by: brandstaetter <hannes.mueller@gmail.com>