optimise 'signingInput' generation

Remove the hacky 'encodeO' function and change signingInput to
return a strict bytestring, reducing the size of inputs to the O(n)
'toStrict' operations.