refactored to use PrismicBundle

this PR requires that https://github.com/lsmith77/PrismicBundle is added to packagist.org. I guess it would make sense to also move that Bundle to the prismicio organization on github beforehand. The code is a slightly refactored version of the code I removed from this repo.