Replace print statements with logging using mozlog

@whimboo 
This is to fix #26 
I've used exception. I have also added update_data['stagingPath'] as the parameter instead of str(e)