Merge pull request #8 from Sophira/more-deduplication

More deduplication
Rename getBarcode to showBarcode

Like showBarcodeFromLink/showBarcodeFromSelection, getBarcode replaces
the source of an image tag, so rename getBarcode to showBarcode to
make this clearer.