Added cause forwarding

Hi,

I found jenbucket with your upgrades very usefull but it was missing nice feature that bb Jenkins Hook has. It is specifying cause of trigger.  

I have added it and some other small checks. 

I'm not PHP developer so probably code can be a bit refactored to be clearer.