Add bootstrap plugin
Fix package fetching

Two issues got fixed:
* The variable name for the package file got changed to PKG_FILE2
  to avoid conflicts with the PKG_FILE from previous erlang.mk versions.
* The way repositories are fetched changed to fix an issue preventing
  fetching the package file *and* the repositories on the same invokation.