gns-api: fixed incorrect usage of WSGI interface -> fixed objects leak
Merge pull request #63 from mdevaev/api-memleak-fix

gns-api: fixed incorrect usage of WSGI interface -> fixed objects leak