The costs, charges and expenses preliminary to and of and incidental to the preparing, applying for, obtaining and passing of this Act shall be deemed to be expenses of the undertaking, properly chargeable to revenue.