Hopefully breaks nothing

Guarantees interrupt is thrown.
Update src/main/java/org/spout/api/util/concurrent/SpinLock.java
getHandlerList needs to be static.

Signed-off-by: Chris Sanders <zidane@outlook.com>
Cleanup of the event package.

Signed-off-by: Chris Sanders <zidane@outlook.com>
Further Inventory work

- Improve documentation dramatically
- Fixed Inventories not updating correctly
- Have methods implementing List<ItemStack> fit the spec better (Iterators for Collection references)
- Fixed some small oversights in GridIterator
- Fix Inventory (or so I think @raphfrk )
- Added Cube and CubeIterator for cube shaped inventory
- Added getAmount(Material), contains(Material), contains(Material, int), and containsExactly(Material, int)
- Added add(int, int, item) to provide a range

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
Merge pull request #365 from W1ndwaker/inventories

Further Inventory work
Abstracted PluginDicionary
PluginDictionary is now an interface
CommonPluginDictionary is an abstract class which contains methods for loading dictionaries and managing them
JavaPluginDictionary is a class which handles the loading of the actual files in the .jar or the plugin folder.
Added teleport to transform target
Use generics with BlockComponent

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
Merge pull request #367 from W1ndwaker/blockcomponent

Use generics with BlockComponent
Added getObservers method to Chunk and add disconnect boolean input into onRemoved for the net sync class
Added basic dependency ordering
Keep a running set of entities that have spawned per synchronizer.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Partly fixes player direction updates - thread safety?
Added a way to send protocol events to specific players (and to ignore a
holder if its a player).
Signed-off-by: Chris Sanders <zidane@outlook.com>
Another helper method for the network component.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Reverted onRemoved
Transforms aren't just positions yet dirty was being used that way. Split
it up into multiple methods as well as a generic isDirty method when it
doesn't matter what aspect of a transform is changed.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Fixed all the code style issues from
http://forums.spout.org/threads/chunk-getobservingplayers-efficiency.5333/

Unit tests later...
Added Unit tests for the translation API

Fixed getting the correct Locale
If no spout instance is available (due to testing for example),
return a basic logger so we can see what errors occur while testing