Fix improperly initialized usernames
Check that a vehicle is a Vehicle before casting. Fixes BUKKIT-4749

When an entity is being moved as the passenger of an entity from one
entity to another, a VehicleExitEvent is fired, but it is assumed that the
current entity is a Vehicle. However, entities can be passengers of more than
just Vehicles, which causes a ClassCastException to be thrown.

This commit fixes the issue by checking that the current entity's vehicle's
bukkitEntity is an instance of Vehicle before casting it to Vehicle.
Properly set persistence flag for bred animals. Fixes BUKKIT-4751
Correct location of fire from lightning strikes. Fixes BUKKIT-4707

Previously fires spawned by lightning strikes were in the wrong locations.
This introduced the possibility of having blocks replaced when they should
not be.

EntityLightning now uses the correct locations as defined to spawn the
fires when needed.
Update and add new sound mappings. Fixes BUKKIT-4756
Add support for custom Hopper inventories. Fixes BUKKIT-4722

Opening a hopper inventory created by Server.createInventory will
currently have no effect as proper handling code is missing in
CraftEntityHuman for hopper inventories that aren't associated with a tile
entity or minecart. Initialization logic for hoppers is also missing from
CraftContainer, which is necessary for the opening of custom hopper
inventories.

This commit fixes the two aforementioned by adding proper handling to
CraftHumanEntity for opening inventories not associated with a tile
entity, and by adding initialization logic for hoppers to CraftContainer.
Provide a tab completion handler for JLine. Adds BUKKIT-4168
Remove unnecessary error logging. Fixes BUKKIT-4406
Use correct spawn reason for Zombie reinforcements. Fixes BUKKIT-4744
Add missing villager sounds. Addresses BUKKIT-4756
Fix villager death sound
Update for 1.6.2_01 renames.
Updated version to 1.6.2-R1.0 in pom.xml for RB.
Updated version to 1.6.2-R1.1-SNAPSHOT for development towards next release.
Update clients when ItemFrame direction is set. Fixes BUKKIT-3371

Hanging entities are placed into the entity tracker and updates are sent
out to clients for the initial placement. Thereafter data watchers are
configured to monitor the item inside the frame. However, if the
direction the ItemFrame facing changes the entity tracker will not send
out updates.

This commit removes and recreates the ItemFrame entity in the same way
that was already done for Painting entities. This causes clients to
be updated appropriately.
Migrate existing item
Migrate item rotation within frame
Remove and add entity through standard entity tracker methods