Slight interface change to adress @dbuenzli

Rename:
- local_lib to lib (local library)
- lib to pkg (global package)
- local_p4o to p4o (local syntax)
- p4o to pkg_p4o (global syntax)

I'm still not totally happy with the syntax names