case 3626 - Use watchdog_exception.
case 3626 - Display push to BPI button for newly created nodes also.
Move creation of Bpi client object in one place.
Better exceptions handling.
Rename constants.
case 3656 - Remove unnecessary function.
Better handling of nid while deleting a node.
case 3656 - Minor improvement.