setup-environment: include layer basedir in begin/end segments

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
setup-environment: don't hardcode meta-mel

Signed-off-by: Christopher Larson <chris_larson@mentor.com>