Add Class.forName() support.
Revert "Add Class.forName() support."
Let's put this in a branch until we can get it stable, causing issues with
plugins that use CraftServer.
This reverts commit d892502d165d72b7a29e97bb998311bf4ded1b13.
Updated POM.xml for 1.5.1-R0.2
Revert "Throw exception for disabled plugin tasks. Fixes BUKKIT-3951"

This reverts commit 052e955ed71a30516a5e9cfd76649daaba4ae7d8.
Add oreobfuscator for Spigot.

Conflicts:
	src/main/java/net/minecraft/server/Packet51MapChunk.java
	src/main/java/org/bukkit/craftbukkit/CraftWorld.java
	src/main/java/org/bukkit/craftbukkit/Spigot.java
	src/main/java/org/spigotmc/OrebfuscatorManager.java
	src/main/resources/configurations/bukkit.yml
Properly return contents of Inventory. Fixes BUKKIT-3930

When an array of an inventory's contents is requested, we loop through the contents of the NMS inventory's ItemStacks in order to return Bukkit ItemStacks that can be used through the API. However, the NMS ItemStack can, in some cases, be larger than the physical size of the inventory. Using the size of the NMS array as a limit on the loop that follows can result in an ArrayIndexOutOfBoundsException because the Bukkit array's length is the actual size of the inventory, and thus will be smaller.

With this commit we use the smaller of the two arrays' length as the limit in the loop, thus eliminating the possibility that the smaller array will be asked for an index higher than its length.
Add BlockDaylightDetector from mc-dev for diff visibility
Add missing calls to BlockRedstoneEvent. Adds BUKKIT-3926

This adds calls to BlockRedstoneEvent for the new daylight sensor and
trapped chest blocks. Note that the redstone level for trapped chests
cannot be modified, as it is based on the number of players currently
viewing the chest's inventory.
Add ScoreboardServer from mc-dev for diff visibility
Add a WeakCollection utility class.

This class is designed to be an invisible layer between a normal collection,
and one that silently loses entries because they are only weakly referencable.
Some operations have additional overhead to be semantically correct, but it
maintains the equals contract for all entries, as opposed to identity.

It does not support the equals or hash code method as it cannot easily have
the transitive and commutative properties.
Implement Scoreboard API. Adds BUKKIT-3776

This implementation facilitates the correspondence of the Bukkit Scoreboard
API to the internal minecraft implementation.

When the first scoreboard is loaded, the scoreboard manager will be created.
It uses the newly added WeakCollection for handling plugin scoreboard
references to update the respective objectives. When a scoreboard contains no
more active references, it should be garbage collected.

An active reference can be held by a still registered objective, team, and
transitively a score for a still registered objective. An internal reference
will also be kept if a player's specific scoreboard has been set, and will
remain persistent until that player logs out.

A player's specific scoreboard becomes the scoreboard used when determining
team structure for the player's attacking damage and the player's vision.
Handle large chests correctly for hopper events. Fixes BUKKIT-3979

In commit 7710efc5f9 we corrected the handling of large chests as the
destination for hoppers moving items but did not apply the same fix for
large chests being the source or for droppers. This commit updates these
to have the same fix.
Make auxiliary worlds use the main scoreboard. Addresses BUKKIT-3984

When a world is created using our API, it does not use secondary world
server and will maintain a reference to its own scoreboard. In vanilla,
this is not an issue as there is only ever one world.

Similarly to maps, an overwrite to the scoreboard reference has been
added for when another world has been created.

This should also address BUKKIT-3982 and BUKKIT-3985
Remove double Orebfuscator entries
Remove CONTRIBUTING.md

This reverts commit 82d40a08d85c68c754b9969a4f6a559c5690a783.
Update README
Boat dupe fix.
Merge branch 'master' into forName

Conflicts:
	src/main/java/org/bukkit/plugin/java/ClassRemapper.java
Merge branch 'master' into forName

Conflicts:
	src/main/java/org/bukkit/plugin/java/ClassRemapper.java