Add .gitignore to prevent Mac OS cruft
Changes to implement the form attribute, including examples