fix a strange behavior on some machines

hopefully fixes problems with swift 2.0.0 on some machines, have no idea why it works without that patch here

the main problem is that 404 is returned sometimes from swift 2.0.0 storage backend when we call GET() directly
it looks like the ObjectController class of Swift sometimes uses request and sometimes uses self to resolve account, container or object paths
to make sure that paths are correct everywhere this patch ensures that all ObjectController classes are created with needed paths and container_info is called with proper request objects (as info is cached in the request object environ dictionary)
Merge pull request #127 from pkit/bug_fix

fix erroneous 404s from ApiController, caching related
fix some test peculiarities

mostly fixed strange json behavior
because tests run python code from strings pyflakes was not detecting proper import usage