Updated code and a new demo file for attachments.

Updated code and a new demo file for attachments.
The new demo file "attachment-demo2.html" contains a better optimized example of working with attachments and the DOM using Shifty as a tweening + helper engine.