Allow to reset a running stop watch (without stopping it!) -reintegrated from trunk

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.2@3064 a333f486-631f-4898-b8df-5754b55c2be0
Optimize the queries for the export page -reintegrated from trunk

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.2@3068 a333f486-631f-4898-b8df-5754b55c2be0
Optimization: map the extended attribute code to the corresponding external field when this if possible (ex: org_id->name to org_name); this reduces the number of queries, in particular when using the "export CSV" menu on a list. -reintegrated from trunk

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.2@3070 a333f486-631f-4898-b8df-5754b55c2be0
Reintegrated changes 3058 to 3060 (prerequisiste for templates into the portal) from trunk

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.2@3073 a333f486-631f-4898-b8df-5754b55c2be0
Protect the initialization with a try ... catch, in order to protect that rest of the page in case of trouble.

git-svn-id: http://svn.code.sf.net/p/itop/code/branches/2.0.2@3075 a333f486-631f-4898-b8df-5754b55c2be0