LPS-48895 Move Liferay Sync code into it's own capability

Hi Brian,

This is a resend of the previous pull. The only changes are a rebase and `ant format-source`.

As soon as it's possible, we'll move this capability into its own module.

Thanks!