jaxrs: add new /1.0/kb/security/subject API

This is useful to get information on a session. It will be used by Kaui
to detect if a user is logged-in.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Fixes #156

There is no easy way to avoid an extra credit on an account that reached a state where blockedBilling is true.

This easiest way to achgieve that result is to have overdue set AUTO_INVOICING_OFF = true when it inserts such a blocking state
and have it remove it when it clears the state: As a result the blocked billing is there in the billing event but invoice will not try to generate
any invoices and when (if) the overdue state clear, then the unblock billing event is inserted and AUTO_INVOICING is removed, which ends up triggereing
the correct credit.
Fixes #159.

The code now adds in the list of existing items additional elements so that get 'repaired' in the last stage after there is no
matching elements in the propsoed list.
Merge branch 'master' of github.com:killbill/killbill
jaxrs: populate tag definition audit logs

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Merge branch 'master' of github.com:killbill/killbill
jaxrs: custom fields API bugfixes

* Fix Location header on creation
* Add more information in the JSON (the id is at least required for
deletion)

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
NEWS: prepare for release

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
pom.xml: update killbill-oss-parent to 0.5.24

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
server: fix compilation error

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
[maven-release-plugin] prepare release killbill-0.8.12
[maven-release-plugin] prepare for next development iteration
Fix type in sql template query
Merge remote-tracking branch 'origin/master' into new-amount-decimals-handling-rfc

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>

Conflicts:
	beatrix/src/test/java/com/ning/billing/beatrix/integration/overdue/TestOverdueIntegration.java
Merge remote-tracking branch 'origin/new-amount-decimals-handling-rfc' into new-amount-decimals-handling-rfc