Added a simple format target which uses clang-format to format the code correctly

And reformatted the code using clang-format-3.6

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>