add exceptions related to sort
move sort to its own module
use SortFactory
set sort to None if no sort order is defined
add sort tests
Merge branch 'master' of https://github.com/aparo/pyes into sort
pep8, more tests
Adding support for span multi term query
Added test for SpanMultiQuery
bug fixed, if `id` is a unicode instance
Merge pull request #339 from hepochen/patch-1

bug fixed, if `component` (like a id) is a unicode instance, make_path would raise error
Use the helper for the full path
Fix testcase
Support querystring_args in update method
Merge pull request #340 from holm/master

Support querystring_args in update method
Generalize the querystring_args for bulk, so it is easier to add more options

At the same time add support for retry_on_conflict and add a test case for bulk update
Merge pull request #341 from holm/master

Generalize the querystring_args for matching for bulk updates
The changes needs to be placed inside the update
Testcase for querystring_args being used properly
Merge pull request #342 from holm/master

Bugfix for the query string args not being set the right place