Update code/Varnish/Model/Observer.php

Modifed _getUrlsForProduct and _getUrlsForCategory to use the Magento Default store id instead of the integer 1, since the store with id 1 may be deleted or not used as the default.