Pass error correction level provided by the user to the encoder. Fixes #60.
Merge pull request #61 from creswick/ticket-60

Pass error correction level provided by the user to the encoder. Fixes #60