Fix samples
CRUD improvement

* Add CRUD for invoice_state, language and currency
* Make API helpers take by_name that makes it lookup a row by name.
* Fixup billingstack.sqlalchemy.utils functions.