Use Macros

Cherry-picking @bgruening's old pull request (which I can't see how to reopen):
https://github.com/peterjc/galaxy_blast/pull/10

CC @jmchilton for review, also waiting for the TravisCI report.