Add controller/gamepad support to Blackberry 10 (update native). Buildfix for Qt.
Separate the func import count from the var count.

Still doesn't actually load the variables imports, but at least it
won't skip a bunch of funcs and break even worse.