ignore: enhance git_ignore_path_is_ignored() test coverage
stash: Refactor stash::drop tests
stash: Update the reference when dropping the topmost stash
branch: Make git_branch_remote_name() cope with orphaned heads
branch: refactor git_branch_remote_name() tests
Merge pull request #1354 from nulltoken/fix/stash-drop

Fix git_stash_drop()
Merge pull request #1343 from nulltoken/topic/remote_orphaned_branch

Teach git_branch_remote_name() to work with orphaned heads
Rename 'exp' so it doesn't conflict with exp()
Portability fixes for Solaris
Changes to CMakeLists.txt to support gcc 3.x
Fix two files missing EOF newlines
Squash some 'integer constant too large' warnings on GCC 3.x
Support GIT_THREADS on Solaris