allow out-of-tree builds (fixes for config.h)
removed unused i variables
Merge https://github.com/erazor83/libdynamixel

Conflicts:
	src/dynamixel.c
Merge pull request #2 from TobiasSimon/master

fixed  out-of-tree build