Optimize bash/zsh checks

Avoid string comparisons. Use instead true/false builtins.
So:
    if [[ $_LP_WORKING_SHELL == bash ]]
becomes:
    if $_LP_SHELL_bash
Merge pull request #167 from dolmen/optimize/shell-checks

Optimize bash/zsh checks