Add tests in iotlabcli/helpers. Add parameter to read_file to get binary file
Refactor addprofile
Refactor profile parsers to use 'opts' as argument