Updated phalcon_c_header.php
Throw an exception if the resolved service is not an object

Close #1209