Simplify nex and getMaxLength
Simplify nex and getMaxLength

getMaxLength will return -1 when the current DaapData is invalid. In that case
offset -1 will always be >= max length with -1.

bjoernricks/daap.js,bjoernricks/daap.js