Fix the error handler when creating the directory of the report
Merge branch 'arduino' of http://github.com/wukong-m2m/wukong-darjeeling into arduino
remove magic number and refactor test_location.py