A bunch of bug fixes or missing APIs added

Fixed newsub()
Fixed newoffer()
Fixed newcard()
Added updatesub()

Upped version number to 0.1.3dev