fixed wrong post-call to request library
fixed cli error in list devices if device has no nickname
added possibility to upload files through API
added file upload capability to CLI
small fixes; successfully tested file upload
Merge pull request #1 from nohum/dev_file_upload

File upload now works for current API (v2)
input of bullet_file is of type File, fixed that
Merge pull request #2 from nohum/dev_file_upload

input of bullet_file is of type File, fixed that
Merge pull request #2 from nohum/master

Fixed wrong post-call to request library and error in cli list-devices command