bug2issue: Add curl upload support for issue

This patch:
1. Adds curl uploading support in bug2issue.
2. Fixes indentation problems in bug2issue.
3. Disables useless features in curl.
4. Adds github connection options in bug2issue.
All these changes are want to upload exported bug2issue to github.com.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>