Modifications to tastypie that enable the use of nested queries