An assortment of bugfixes, many in do_open do_close that were still messed up from the instance refactor. Think my first 80 commits are going to be cleaning up the instance refactor.
Some fixes after the rebase
Merged in Polatrite/pyom/command-spells-hoo-rah (pull request #64)

More command fixes, notably do_open and do_close which had a slew of problems.
Created a generic JSON encoder/decoder and local hooks in the Bit() class to use it.
Re-write of environment and contents.

Contents is now inventory

in_environment is now simply environment.

All environment attributes return references, eg ch.environment would return the actual instance of the environment.

to_environment and from_environment have been replaced by get and put

To take an item from a room by a character:

room.get(item)
ch.put(item)

each action is internalized to the individual class. Items understand how to add or remove items to themselves, characters and rooms the same.

So you would no longer do, ch.to_environment(room)

Each get/put is over-ridden by the inheriting class.

The get/put is individualized for that class, based on what the class can or cannot do.

The only exception to this rule is that equip and unequip simultaneously pull/place items in the inventory based on whatever action is taking place. So the inventory is the gateway to the equipped dict, to equip a char you would still need to place the item on the character, so:

ch.put(item)
ch.equip(item)
Merge branch 'master' of https://bitbucket.org/mudbytes/pyom

Conflicts:
	Rom24/pysrc/effects.py
Massive changes.

A large portion of serial/de-serial for the character/equipment/items is complete. Saving works.. loading doesn't yet.. Working with Quix on it.
Massive changes, as listed previously.

Game is relatively stable*

Serialization of: Character - Equipped Items, Inventory Items works.

You can Save, Quit, and Log back in again!

Serialization is basis/base for future full serialization of the game.

Current able-tos:
Log in
Load pfile*
Load associated items
Create new character
Get proper weapon based on weapon choice in creation
Save
Look
Look at character(s)
Flee
Cast magic missile
Recall
Sacrifice things
Attack things
Kill Things
Die
Loot a corpse - but items seem to appear to be in corpse still, i think..
Practice
Train
Wear items
Remove items
Drop Items
Get Items
Walk around
Trigger hidden pyprog in newbie school - which fails
Some fixes/cleanup.

Removed save_char_obj code, no longer used/needed.

If the game does not shut down/crash/reboot after you quit (which it wont from you quitting), you will log back in to the last room you were in now, not be sent to hassan.

Few other fixes..
Added some comments, and licensed the Authentication module under the MIT license, since it is NOT derived from DikuMUD in any way.
some fixes for debug log
Merged in quixadhal/pyrom (pull request #67)

JSON encoder/decoder + licensing of auth.py
Bunch of fixes: rolling a d20 instead of d21 on hitroll calculations, also doing integer division in a spot where it was missed. Fixed up ostat and mstat to accommodate the latest refactors. Applies now load on items, which is pretty important (stats are good).
Merge branch 'master' of https://bitbucket.org/mudbytes/pyom

Conflicts:
	Rom24/pysrc/bit.py
	Rom24/pysrc/instance.py
Merge branch 'master' of https://bitbucket.org/mudbytes/pyom

Conflicts:
	Rom24/pysrc/bit.py
	Rom24/pysrc/instance.py
Merged in syn2083/pyrom-ns (pull request #66)

fix for reset_area
Merged in Polatrite/pyom/syn (pull request #68)

Bunch of fixes: early level combat, ostat/mstat, loading APPLIES on items
do_open do_close

Conflicts:
	Rom24/pysrc/commands/do_close.py
	Rom24/pysrc/commands/do_open.py
Many more command fixes.

Conflicts:
	Rom24/pysrc/commands/do_get.py
	Rom24/pysrc/commands/do_owhere.py
	Rom24/pysrc/db.py
	Rom24/pysrc/handler_item.py
	Rom24/pysrc/living.py

Conflicts:
	Rom24/pysrc/commands/do_ostat.py
Yet more command and spell fixes.

Conflicts:
	Rom24/pysrc/commands/do_owhere.py
	Rom24/pysrc/spells/spell_continual_light.py
	Rom24/pysrc/spells/spell_locate_object.py

Conflicts:
	Rom24/pysrc/commands/do_mstat.py