Add a pre-commit script, in order to check syntax/codestyle before commit

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>