Don't set ACLOCAL

The m4 directory is specified in configure.ac. This export breaks
ACLOCAL_FLAGS and makes it impossible to build with
gobject-introspection in a non system path.
Ensure we cleanup the tmp dir

Even if the tests fails.
Merge pull request #20 from dnarvaez/testscleanup

Ensure we cleanup the tmp dir
Merge pull request #17 from dnarvaez/aclocal

Don't set ACLOCAL
Deprecate and ignore the SUGAR_EMULATOR variable
Use javascript to setup websocket port and key
Move the websocket service to the shell

It's a first step to make html activities much lighter. It also
just makes a lot more sense to have them interact directly with
the system rather than proxying through the python activity.
Rework HTMLActivity to not inherit from Activity

This will make the activity use less memory and start faster.
Use a relative path in the activities url

It's just a bit cleaner.
Make the inspector toggle work reliably
Merge pull request #26 from dnarvaez/emulator-try2

Deprecate and ignore the SUGAR_EMULATOR variable
Rename HTML to web
Cleanup environment initialization

We are not setting up a single sugar.window.environment object.
Do not use the translated summary to get the value from gettext in the bundle builder

This patch is a rebased push from pull request #31

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Send bundleId and objectId to javascript

Also use the json module to generate the environemnt
dictionary string. This takes care of a None objectId
cleanly.