Fixed nephele-config.sh substr command calls on OS X (closes #88)

This is issue #88.

On OS X the `expr substr` (sub-)command is not supported. I replaced it with bash's (extended) syntax for string expansions.

If this is not OK an alternative would be to use `uname -s | cut -c1-6`.