Add billing_days_in_period() to get number of days in a billing period.
Add prorated first month to plan tab, close #157.