Merge pull request #357 from simsong/master

revised for sector hashing support
Added bounds check to attribute name processing.  Resolves issue #328
Added gitignore to gitattributes to prevent line ending issues as reported in #317