[skeleton] Add an entry point and configuration for running a Pyramid application
We add a `pyramid_main` function in __init__.py that instantiate the WSGI
application using "cubicweb.pyramid"; this is defined as an entry point (in
setup.py) so that pserve_ can find it.
Alongside comes a development.ini file which includes basic settings so that
running a Pyramid+CubicWeb application works (only the "instance=<appid>" may
be passed as a command-line argument). Logging is also configured there, but
only includes the cube at stake and cubicweb (others could be added if
needed).
.. _perse: \
http://docs.pylonsproject.org/projects/pyramid/en/1.8-branch/pscripts/pserve.html
Javascript Coding Standards---------------------------(Draft, to be continued):Naming: camelCase, except for CONSTANTSIndentation rules~~~~~~~~~~~~~~~~~- espace avant accolade ouvrante- retour à la ligne après accolade ouvrante (éventuellement pas de retour à la ligne s'il y a tout sur la même ligne, mais ce n'est pas le cas ici.- no tabsDocumentation~~~~~~~~~~~~~XXX explain comment format for documentation generationCoding~~~~~~- Don't forget 'var' before variable definition, and semi-colon (';') after **each** statement.- Check the firebug console for deprecation warningsAPI usage~~~~~~~~~- unless intended, use jQuery('container') rather than jqNode('container')See also~~~~~~~~http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml