Added support for declarations use_foreign_source/1, use_foreign_header/1,
include_foreign_dir/1, extra_compiler_opts/1, link_foreign_library/1 and
pkg_foreign_config/1, to make possible building of complex .so libraries.
- foreign ---> library(foreign/...) to avoid extra alias path.

- Message about foreign compilation is informational, if no error.