Make targetDate as optional when creating an invoice
Fix migration entitlement code that got broken after the change 9a912805c488ac9a7ddf3e7454be0a771a94b026
We now need to always have a MIGRATION_BILLING event unless the subscription is cancelled if we want to subsequently bill that subscription in KB
Squashed commit of the following:

commit ccc7ca666ddffa5080ca185f4950cd4486dfdcf9
Author: stephane brossier <stephane@ning.com>
Date:   Mon Jan 28 18:26:17 2013 -0800

    Remove wrong commented section in tests

commit 4a3cd3d501365ab2620aeb4b78ae3883d8c394c3
Author: stephane brossier <stephane@ning.com>
Date:   Mon Jan 28 17:43:26 2013 -0800

    Remove unsed code

commit 6cf53b348d51fbc676b388b0612d0f90f798f75f
Author: stephane brossier <stephane@ning.com>
Date:   Mon Jan 28 17:41:18 2013 -0800

    More entitlement test refactoring

commit 48b8887e9548f400423d13274bc3379485b50415
Author: stephane brossier <stephane@ning.com>
Date:   Thu Jan 24 19:21:27 2013 -0800

    Fix TestDefaultEntitlementTransferApi test

commit db163778d1fc93ec2d2cf9e2666eceb04e4072c4
Author: stephane brossier <stephane@ning.com>
Date:   Thu Jan 24 18:10:28 2013 -0800

    First pass at refactoring enrtitlement tests -- 8 failures
Add check for null objectId
Merge branch 'master' into osgi

Conflicts:
	beatrix/src/test/java/com/ning/billing/beatrix/integration/BeatrixIntegrationModule.java
	pom.xml

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
entitlement: fix tests group in EntitlementTestSuiteNoDB

NoDB are fast tests.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Merge remote-tracking branch 'origin/master' into osgi
entitlement: fix tests group in EntitlementTestSuiteNoDB

NoDB are fast tests.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
beatrix: fix potential NPE in ServiceFinder

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Merge remote-tracking branch 'origin/master' into osgi