rest-gen: expose ActionInfo and ApiTree modules again.

These are needed for the test cases.
rest-gen: fix test cases.
Bump rest-gen.
rest-core/rest-gen: run tests on Travis.