fixed a bug in the 'required' handling that created duplicate 'auto'
generated elements in some circumstances. Upped version to 0.1.5 as
I prepare to upload to pypi.