Fix instrument sequence setter function

Sequence object would have been invalid if an error occured in the creation
function.
Fix off-by-one error

Too much shift caused integer overflow.
Fix behaviour of empty release envelope sequences
Fix next return value of `BKSequenceFuncSimpleStep`
Silence compiler warnings
Update documentation
Fix sample example
Bump version to 0.8.1