Addition of an API for Beacons. BUKKIT-2842