Return instance of CraftInventoryBeacon for Beacons.  Fixes BUKKIT-4521
Make ItemFactoryTest.java platform agnostic. Fixes BUKKIT-4695

Maven paths that include spaces (and possible other characters) get
improperly translated when using a file handle from a URL. This changes
the unit test to open a stream directly from the URL, providing proper
file resolution on multiple platforms.
Add BlockCake for diff visibility.
Fire FoodLevelChangeEvent when eating cake. Fixes BUKKIT-2242
Return correct hasLineOfSight value for players. Fixes BUKKIT-4634

Prior to this change when a plugin called Player.hasLineOfSite() the
method would always return false because EntityHuman does not extend
EntityInsentient. This commit changes that by explicitly checking for
line of sight between two entities and returning that value.
Add source encoding to the maven compiler plugin.

This change adds the source encoding to the maven compiler plugin, which
will strictly enforce build consistency on multiple platforms and address
possible compilation issues on some of the source files. The source
encoding unintuitively is system-specified by default.