added flexible dependency versions
detect stack type and get JDK based on it
tightened up a dependency
added writing of sys props file to slug
added profile.d script for auto-scaling memory