Summary:
Fix API changes, plus several logic and syntax errors... again, this had
never been built.
Test Plan:
Didn't build before, builds and runs now, although with some runtime issues
that will be tracked on a separate issue.
Reviewers: felipealmeida, lauromoura, bu5hm4n
Differential Revision: https://phab.enlightenment.org/D6649