CRM-13786 Applying updated patch from Karin which fixes the calculation ...

...of start date and edndate  for fixed memberships. All related BAO, api and Form unit tests passing now.

----------------------------------------
* CRM-13786: Membership End Date not calculated properly for fixed period MembershipTypes
  http://issues.civicrm.org/jira/browse/CRM-13786