Fix instance check in getShortMapper.mapper

Needs to check for both integral types, otherwise:

	modName,object = fid

Will raise an exception, since integral types can't be iterated,
unlike tuples (which is what fid needs to be here).
Add HAIR to types converted to long fids by RacePatcher

This also fixes issue #95.
Clear RacePatcher.races_data before building patches

Otherwise, when building a patch twice without restarting, races_data
finds itself with fids in short format from the previous build(s),
when fids are expected to be in long format, which causes Bash to choke.

Closes #95
Revert "Needed?"

This reverts commit f11eebcfa81d02f2025bfdd45efd760d82ea8197.
See discussion in
https://github.com/wrye-bash/wrye-bash/commit/47aa1b000af374fb7dffcf0cd50f0f47ebdb7400
Merge branch 'trira-issue_95' into dev
Add stdin=PIPE to calls to Popen where stdout=PIPE

Fixes a bug that is difficult that seems to affect random systems.
Merge branch 'trira-winerror_6' into dev
Update version number in bash_default.ini
Wizards - fix bug in error handling code
Fix issue with script parser

* In the routine that removed outer parenthesis, was assuming
  a list object, but sometimes it would get a tuple.

Fixes #126
Merge branch 'lojack-issue-126' into dev
Inital usage of GitPython

* Ensures only files in the repo are included in the .7z packages
* Still need to modify the NSIS scripts to somehow utilize this information
Refactor NSIS scripts

- Makes it easier to maintain
- packaging script must remove unwanted files before running
- refactor a bit to put repeatedly used code into macros.
packaging script improvements:

- More finally blocks on try statements: should leave the repo in a
  cleaner state if the build is aborted/fails
- line wrapping
- During installer creation, non-repo files are relocated to a temp
  directory, then restored after (not necessary for archive versions,
  since those use list files).  Requires GitPython.
- clean up build.log writing
- new option to disable relocating files
- If modified zipextimporter is not installed, will prompt to attempt
  to install it (will fail if Python is in Program Files).
- Includes `Mopy\Apps` in the distributables (it cannot be added
  to the repo, so a workaround was needed)

Closes #103
Merge branch 'lojack-build-script-improvements' into dev
Fixed stray use of old BOSS directory var.
BOSS launcher improvements.

* Fixed BOSS registry path overriding local install path if both exist.
* Fixed GUI being run by default.
* GUI launch option is now a checkbox menu item, rather than a separate
launcher.
* Removed some custom launcher code in favour of using the generic
inherited code.
* Added a wait argument to the generic launcher code that causes Bash to
wait for the launched (exe) process to finish.
Merge pull request #127 from Sharlikran/sharlikran-bashini

Update version number in bash_default.ini
mkiniheader: fix handling of zero character
update russian bash.ini for version 305