Per-pixel picking, fixed bug in Script class...

Per-pixel picking, fixed bug in Script class...

- Resolved error in core Script class. m_scope could potentially be used
before being initialized.

- Dialogue metadata files now allow queries to implement java-script
entry conditions. When the dialogue controller is looking for a entry
query,
queries are iterated through until an entry condition is satisfied,
starting from the top. Conditions are provided to variables, "speaker"
and
"listener" which reference the script bridges of the respective entities
in the dialogue.

- Entities now have flags, which can be set and cleared via scripts.
Approriate for driving quest logic - but can be used by scripts to
perform
various tasks. Each flag corresponds to an integer value. Flags are
synchronized accross client\server. Read-only on client end.

- Refactored some networking code to allow it to be more easily
extensible\reusable and further simplified the code a great deal. Also
cleaned
out some very stupid interfaces that I must have written when I was very
sleep deprived.

- IResourceLibrary refactored into an abstract class ResourceLibrary,
maintaining some of the boiler-plate work to resolve #24 (fixed #24).
Now entities can be more easily added to the library by extending the
concrete implementation of ResourceLibrary.

- Implemented per-pixel picking. This introduces a pick method in the
world, and in the WorldView panel.

- Some example quests demonstrating new AreaTrigger\Dialogue\State
implementation will be added soon.

- World\Server view did not properly deal with the consequences of an
actor's default interactable command being null.

Jeremy. Allen. Wildsmith