Change from attr to data.

This was done so that custom bindings for Knockout.js could be used to set the gist-id dynamically.
Fixing the line number parsing.
Fixing the boolean parsing.

Also fixed the code formatting to match the rest of the code style.
Merge pull request #25 from scottdorman/master

Change from attr to data for knockout js bindings compatibility.