make core dependencies selectable

make core dependencies select-able between:

    option(value="removeAll") Do not add Core
    option(value="removeNone") Add Core (full)
    option(value="keepDependencies") Add Core (only dependencies)

fixes #180