Add debug attribute to session.
If set to True, add some useful variable to shell namespace
Merge pull request #68 from gbaty/debug-mode

Add debug attribute to session
Refactor service interface, control. Move it to core.
Move controls to core

Name changes in services:
rename control and interface service to more explicit names.

For example, this patch replaces:
from openalea.oalab.service.interface import new as new_interface
with
from openalea.core.service import new_interface

Full changed list:

Services interface:

guess -> guess_interface
get_class -> interface_class
get_name -> interface_name
get -> get_interface
check -> check_value
new -> new_interface
names -> interface_names
default_value -> interface_default_value
alias -> interface_alias

Services control:

new -> new_control
get -> get_control
register -> register_control
unregister -> unregister_control
create -> create_control
group -> group_controls
Move catalog to legacy.
catalog was a draft for generic adpater service
Move old control panel to legacy
Fix bugs due to move of catalog to legacy
Move project to core
Fix setup.py bugs due to move project from vpltk to core
Create package plantlab.

All dependencies to plantgl or lpy are moved to plantlab.
Currently, plantlab is still install by default.
Remove IDE files
move catalog test module to legacy
Move model and data from vpltk to core.
Warning: core.data was existing, so only Data class has been moved here

Fix a bug:
  File "oalab/src/openalea/oalab/plugins/controls/painters.py", line 5, in <module>
    from openalea.oalab.service.interface import alias
Add warn_deprecated function
Move interpreter to openalea.core and associated widgets to openalea.oalab.shell
Add --color to command line (set OA_CLICOLOR to 1)
oalab.legacy is now deprecated
Refactoring on tests and interpreter/shell classes

Tests:
Move tests to core
All tests in core work without Qt

Shell/Interpreter:
Interpreter/get_interpreter_class move to openalea.core.interpreter
ShellWidget/get_shell_class move to openalea.oalab.shell
Move service ipython, mimetype, data to core
flake8 on core.control
Minor bug fix