build: move internal p2 ant targets into their own file

To prepare for the gradle build.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>