attribute: constructor cleanup

Remove some unnecessary logic and variables from the ElkAttribute
__init__ method.
attribute: rename test modules

Rename all attribute test modules to test_attribute_foo because I
can't keep track of them all anymore -_-
attribute: raise TypeError on unrecognised options