libqiprog: Add API declarations for write/erase commands

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>