Improve release script

 * use nice set for error checks
 * improve arguments checks
 * set trap for error
 * remove temp files on error
Merge pull request #104 from ravwojdyla/improve_release

Improve release script