PAGINATION_URL/PAGINATION_SAVE_AS implementation

allows the use of custom urls for pagination similar to *_URLS
more robust PAGINATION_(URL|SAVE_AS) support

- add base_name and number_seperator to context to give more flexibility
  when naming things
use six.string_types for python 3 compat