add escript support via plugin

- approach taken from https://github.com/synrc/mad/blob/master/src/mad_bundle.erl by @5HT 
- the escript generating code is on a single line as I couldn't find a simple  multi-line way of writing it that is still compatible with GNU Make 3.8.1
- I'm not sure if the dependency target rules are correct, e.g. `.PHONY` in build.config and core/core.mk, and in plugins/escript, core targets `escript:: distclean-escript all`
I think you can remove all changes to this file. This is not a core target, it has no need to be augmented with anything, it's more like running Dialyzer or Elvis, something specific.