Updated version to 1.4.7-R1.1-SNAPSHOT for development towards next release.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/f6e394d2606770d08a2e1c681e09d13199186624
Use the result of EntityPortalExitEvent. Fixes BUKKIT-3559.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/9a18c2ac2f284c640d0f75c192e3f650fbf70986
Always use the set exit location for portal events. Fixes BUKKIT-3555.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/4b00d134de311557b175365088021be786bc3d8b
Fix players spawning above portals. Fixes BUKKIT-3542.

Vanilla does not check for blocks in which the player could
suffocate when changing dimension, so portals will happily spawn
players in blocks when using a portal under certain
circumstances. However, we currently check for these instances
and move the player up until they will not suffocate. This means
that players can sometimes be taken to above the target portal,
making it seem as if a portal was not created. Instead, we now
disable this suffocation check when moveToWorld is called from
changeDimension, mirroring vanilla behavior more accurately.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/30ff79222eb3138d07461c35578c06c00d4cbbf6
Always return a TravelAgent; Fixes BUKKIT-3541

Recent changes caused PlayerPortalEvent to suddenly return null
unexpectedly and could end up in NPEs resulting that did not before.
This commit addresses that situation by always ensuring a TravelAgent
instance is returned.

The TravelAgent for world 0 is returned arbitrarily in an effort to
compensate for plugins that are implementation dependent and expect some
form of a TravelAgent to be accessible in the event at all times.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/6c77179121a5abdf2562db0c5c8818adda906ac8
Use entity UUID instead of EntityID for metadata. Fixes BUKKIT-3582

The entity id is a non-unique, non-persistent value, and will cause
entities to lose their respective meta data on chunk unloading, and
teleportation.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/e2041597af934ee4eccb7a7b7bfa846b6d10c67d
Set CraftTravelAgent.DEFAULT to a non-null value. Fixes BUKKIT-3578

Currently, CraftTravelAgent will call s() on the passed-in WorldServer in order to set DEFAULT. However, s() will always return null at this point, because WorldServer.P will still be null, as it is set after the constructor is called. Instead, we set CraftTravelAgent.DEFAULT to the instance that is being constructed.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/aa094c497f0a06a3fed76e9094cb1b7a7ff263ca
Check TravelAgent.findOrCreate(Location) for null; Fixes BUKKIT-3590

If a custom TravelAgent is used and returns null for findOrCreate method
a NullPointerException will occur.
Conflicts:
	src/main/java/net/minecraft/server/PlayerList.java

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/c0291c315a441d431e35a75a05e88df887f128fd
Close inventory on teleport. FIXES BUKKIT-3021.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/65324d660e83cd729a16f3ecb422a3cc64b57f1a
Implement PlayerItemConsumeEvent. Adds BUKKIT-2349

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/1ba48e78773e3b8b8fca1665a29a863bd2644c7d