Added logic to support backward and forward compatibility for various keyboard ID formats.
Adding .gitattributes and .gitignore files

This is in preparation for the migration to git.