Added SoftDevice 6 support + OpenOCD flash + some fixes

Thanks for the original scripts..
Added SoftDevice v6 support and OpenOCD programming capabilities.
Also fixed some directory issues.