bring back get_test_db_name from PR #172

This is an amendment to PR #172 (see https://github.com/benoitc/couchdbkit/pull/172/files#L0L26).

To see the diff of that PR plus this one combined, see: https://github.com/dannyroberts/couchdbkit/compare/2dbfd25...get_test_db_name.