Invoice Number

Added rules for incrementing the invoice number when creating a new
invoice versus editing an existing one.

When you change the client while editing an invoice, it counts as a new
invoice, so the invoice number increments one