Add __eq__/__ne__ methods for Attributes
Add script to create first cybox example file.

Also simplify api.py by moving some of that behavior to constructors.