Use ${BASH_SOURCE[0]} instead of $0

Now we have better behavior when we use `source`; before we got the
parent's name, but now, we get the actual script's name.
Merge pull request #326 from JasonGross/fix-source

Use ${BASH_SOURCE[0]} instead of $0