Item database.

Functions:

db.getItem(name)
Returns an item object representing the item with the given name. 
	
	
The item object has the following methods and properties:

item.name
the name of the item. also returned by tostring(item).

item.isBlock()
returns true if the item is a block (It can be placed by a turtle).

item.isTool()
returns true if the item is a tool.

item.maxStackSize
How many items can be stored in one slot

item.damageable
true if the item can wear out.

item.maxDamage
Number of times the item can be used before it wears out.

only if the item is a block:

item.movable
true if the block can by moved by a piston.

item.burnable
true if the block can burn.

item.solid
true if one can place torches on it's sides.

item.lightlevel
how much light does the block emit


db.stack(item, [count, [damage]])
returns an item stack object - it simply has these three properties.


db.getRecipeResult(recipe)
Returns the item you can craft with the gven recipe.
to specify a recipe, you use a table as if it was the 3x3 crafting grid. empty slots are nil.
recipe={	
	item1,	item2,	item3,
	item4,	item5,	item6,
	item7,	item8,	item9	
}
It returns an item stack object.


db.getRecipesFor(foritem)
Returns al recipes for the specified item in a table. Each recipe is a table as represented above.


db.getSmeltingResult(item)
returns the furnace output for this item as item stack.
