implement allimages()
Separate automated tests and examples

- Keep automated tests to be run with py.test in './tests/'
  and examples in './examples/'
- Rename test to adhere to 'Conventions for Python test discovery'
  (http://pytest.org/latest/goodpractises.html#test-discovery)
Merge pull request #42 from fhocutt/doc-improve

clarifications/typo fixes/improved sample code
added links to wiki documentation
Merge pull request #43 from fhocutt/wiki-add

added links to wiki documentation
Merge pull request #44 from fhocutt/doc-improve

added reference to PyPI and instructions
Update README.rst

- Adding note that 0.6.5 might not work with the latest MediaWiki versions
- Fix link to wiki
add dates and commit refs to 0.6.5 and 0.6.4

and change the format for 0.7 release notes
[#45] replace http.py with the Requests library

- Note the following exception replacements:
  mwclient.errors.HTTPError -> requests.exceptions.ConnectionError
  mwclient.errors.HTTPStatusError -> requests.exceptions.HTTPError
  mwclient.errors.HTTPRedirectError -> requests.exceptions.TooManyRedirects

- Removed the `compability.old_upload` method, which was used for
  MediaWiki < 1.16.

- Requests automatically decompresses gzip-encoded responses, and
  does its best to decode response content to unicode when possible.

- [#53] Using the Responses library to mock http requests in tests
Set version to 0.7.0dev
Simplify setup and add version test
Don't crash on null edit

Null edits won't include 'newtimestamp' in the response
Doc and argument checking for upload method

- Add docstring
- Check arguments
- Rename 'sessionkey' to 'filekey'. Since the existing implementation
  was broken ('sessionkey' was sent to the server as 'session_key'),
  it is expected that this rename will not break any existing tools.

Conflicts:
	mwclient/client.py
Update .gitignore
Try to preserve backward compability
Retry on internal_api_error_DBQueryError

See https://bugzilla.wikimedia.org/show_bug.cgi?id=58158
Travis has dropped Python 2.5
Simplify running tests

- A single command `python setup.py test` will now install test
  dependencies, make an in-place build and run the tests.
- The setup script now requires Setuptools. A message will be printed
  if it is not found.
Fix setup.py test and add tox.ini

- For some reason, 'pytest-cache' isn't found by setup.py if not
  specified explicitly in 'tests_require'
- Add tox.ini so tests can be run using tox if desired
- Update test to not be dependent on serialization
Don't require unnecessary dependencies

- Require 'ordereddict' only on Python < 2.7
- Don't require 'simplejson'