Added astyle configuration and formatted all the source files

Here are the style options I choosed:
 - Java bracket style :  Check other styles http://en.wikipedia.org/wiki/Indent_style
 - 2 spaces for indenting 
 - Separating blocks by lines

Run make style for formatting all the source files from the root of the project
I let you accept the pull request if you are ok with this style configuration :dart: