Changed ctor of Expense and Income to have a default value for id

On creation of a new expense or income, the id is set right before the
new entity is sent to the db, by checking what the next id should be.
Therefore the id parameter was changed to be optional.