fix case sensitivity in _samefile

_samefile should be case-insensitive on case-insensitive file systems
(e.g. Windows). This way sameModule will not re-import and overwrite
modules that are already imported.
This fixes #19
test errors against BaseException in capture.py

addCaptureToErr in capture.py is formatting exceptions that inherit from
Exception but some exceptions inherit from BaseException (e.g.
SystemExit).
In any case, addCaptureToErr should not fail if the exception was not
formatted so ev must be ensured to be a string.
This fixes #612
getpackage in util.py should only parse files and packages

Directories that end with .py but are not Python packages should not be
parsed as if they are modules.
getpackage now verifies that the path is either a .py file or a package.
This fixes #526
Fix include directive in autoplugin_directive.

It appears that the include directive does not like absolute paths, and
ends up stripping the leading '/'.  This means that it fails to find the
python module, and warns in the Sphinx build.

Instead of using an absolute path, let's formulate a relative path using
docutils.utils.relative_path().  Since the path needs to be relative to
the document, let's pull that from state_machine.document['source'].
Remove manpage and manbuilder in favor of Sphinx's man page builder.
Grab the version number from nose itself for use in the documentation.

This makes it one less place you have to remember to tweak the version.
The man page was regenerated to reflect the new version number.
Regenerate the man page with a stable version of docutils.

Docutils trunk had a regression which was introducing a duplicate
block.
Merge remote-tracking branch 'jszakmeister/fix-broken-autoplugin-directive' into autopluginfix
Update the changelog.
Merge pull request #625 from Infinidat/master

Fixes for issues: #19, #526, and #612
A few more updates to the CHANGELOG.
Change options of pdb plugin

Support --pdb-errors, --pdb-failures, and --pdb (both)

This fixes #366.
Bump nose2 version in NEWS
Corrected a module path reference
Merge pull request #667 from nloadholtes/patch-1

Corrected a module path reference
Add the documentation fix provided by Nick to the CHANGELOG.
Fix #447: doctests fail when getpackage() returns None

When loading tests from a compiled extension, the result of
`getpackage(filename)` can be None, causing an error in
`DocTestCase.id()` when it tries to use the result as a string.  To fix
this, let's return the name of the doctest itself just like an
alternate path in `DocTestCase.id()`.
Add missing format parameter in error message
switch docs sidebar tracker link to current GitHub (instead of old Google code site)
Merge pull request #671 from emillon/master

Add missing format parameter in error message