compiler-api: simplify compiler API

There were two redundant functions in the module that did the same thing
but had different definitions (compile and of_policy). In addition,
renamed to_netkat to to_policy.
Merge pull request #353 from frenetic-lang/compiler-api

compiler-api: simplify compiler API