First part of a squash of different commits related to ADMS.SW already present on trunk/master

Squashed commit of the following:

commit 60477a607d17d3a655dc3c572a006b72c234805f
Author: Olivier Berger <olivier.berger@telecom-sudparis.eu>
Date:   Wed Oct 24 22:52:39 2012 +0200

    Add support for text/turtle RDF representation

commit a808cbd3e216132ffb4d8c8480789d9cf4e755f4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:01:36 2012 +0200

    A few updates

commit 449797398cd74a4557a9780307c914069925e5e5
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:00:29 2012 +0200

    Add 'admssw' plugin to render ADMS.SW 1.0 compatible RDF on /projects[/...]

    Cherry-picked from trunk

commit 32835792ce225fd9b08fc5955999f5bda89cd80d
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:59:45 2012 +0200

    Add support for /projects RDF rendering via content-negociation through 'content_negociated_projects_list' hook

    Cherry-picked from trunk

commit 82098e41b188855b23e23a59cc6cc05f6ca29ac4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:57:41 2012 +0200

    Fix #me to #person

    Cherry-picked from trunk

commit c272c32904961d3ee51e7f2a9ecf8d57c8897854
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:56:37 2012 +0200

    Make use of factorized get_public_active_projects_asc()

    Cherry-picked from trunk with CR+LF normalized

commit 0ab4bbf34376bdc41cea8bac65e6e14cda09998e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:53:55 2012 +0200

    Extract from trove's full list the query for public active projects

    Cherry-picked from trunk with CR+LF normalized

commit a2a7f3479e80751b1bb8082a09ef063f2edfc13e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:52:05 2012 +0200

    Use ARC2 to construct RDF instead of home made templating

    Cherry-picked from trunk with CR+LF normalized

commit 2d4a902c823ffeda0c85be56f1f6b720460c7b6e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:49:20 2012 +0200

    Support multiple values for relations (corresponding commit in ARC2 : https://github.com/olberger/arc2/commit/67cc82c156bb95ef066dda8fac72376ca81874d8)

    Cherry-picked from trunk with CR+LF normalized

commit 4980f9b6ae43a52de69b7d6e9afc4146efa34b35
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:47:42 2012 +0200

    Add php-arc as intially downloaded from http://arc.semsol.org/, in same version as Debian packages (20101006)

    Cherry-picked from trunk with CR+LF normalized

commit 9dcc73deb34b9718e9f9228ae7a5351446cff415
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:44:42 2012 +0200

    Add dependency on php-arc

    Cherry picked from trunk and removed changes to OSLC plugin

commit 4580345a5fa5aa94d695ea4f2323e7eec94e8f15
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:43:00 2012 +0200

    Add alt_representations hook to support Linked Data Autodiscovery links in HTML link/meta

    Cherry-picked from trunk with CR+LF normalized

commit c3f3676872aa7ce9805dd64cd128fde00a2f9369
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:33:25 2012 +0200

    Implement new style project_rdf_metadata hook using real ARC2 resources

    Cherry-picked from trunk and removed changes to OSLC plugin

commit a172a633e4fd6379189728acd8ab266974c07e52
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:30:02 2012 +0200

    Add general include utility for ARC2 for RDF processing

    Cherry-picked from trunk

commit 3bf8f9801b0c2934e204aac8cc34c264f2caddc9
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:26:16 2012 +0200

    Try normalizing to LF for PHP files

commit 23bd63f61de54bf351d10ad260d4c95400f40686
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:22:40 2012 +0200

    Test removing .php stanzas from .gitattributes
Second part of a squash of different commits related to ADMS.SW already present on trunk/master

Touches doaprdf and foafprofiles

Squashed commit of the following:

commit 60477a607d17d3a655dc3c572a006b72c234805f
Author: Olivier Berger <olivier.berger@telecom-sudparis.eu>
Date:   Wed Oct 24 22:52:39 2012 +0200

    Add support for text/turtle RDF representation

commit a808cbd3e216132ffb4d8c8480789d9cf4e755f4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:01:36 2012 +0200

    A few updates

commit 449797398cd74a4557a9780307c914069925e5e5
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:00:29 2012 +0200

    Add 'admssw' plugin to render ADMS.SW 1.0 compatible RDF on /projects[/...]

    Cherry-picked from trunk

commit 32835792ce225fd9b08fc5955999f5bda89cd80d
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:59:45 2012 +0200

    Add support for /projects RDF rendering via content-negociation through 'content_negociated_projects_list' hook

    Cherry-picked from trunk

commit 82098e41b188855b23e23a59cc6cc05f6ca29ac4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:57:41 2012 +0200

    Fix #me to #person

    Cherry-picked from trunk

commit c272c32904961d3ee51e7f2a9ecf8d57c8897854
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:56:37 2012 +0200

    Make use of factorized get_public_active_projects_asc()

    Cherry-picked from trunk with CR+LF normalized

commit 0ab4bbf34376bdc41cea8bac65e6e14cda09998e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:53:55 2012 +0200

    Extract from trove's full list the query for public active projects

    Cherry-picked from trunk with CR+LF normalized

commit a2a7f3479e80751b1bb8082a09ef063f2edfc13e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:52:05 2012 +0200

    Use ARC2 to construct RDF instead of home made templating

    Cherry-picked from trunk with CR+LF normalized

commit 2d4a902c823ffeda0c85be56f1f6b720460c7b6e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:49:20 2012 +0200

    Support multiple values for relations (corresponding commit in ARC2 : https://github.com/olberger/arc2/commit/67cc82c156bb95ef066dda8fac72376ca81874d8)

    Cherry-picked from trunk with CR+LF normalized

commit 4980f9b6ae43a52de69b7d6e9afc4146efa34b35
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:47:42 2012 +0200

    Add php-arc as intially downloaded from http://arc.semsol.org/, in same version as Debian packages (20101006)

    Cherry-picked from trunk with CR+LF normalized

commit 9dcc73deb34b9718e9f9228ae7a5351446cff415
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:44:42 2012 +0200

    Add dependency on php-arc

    Cherry picked from trunk and removed changes to OSLC plugin

commit 4580345a5fa5aa94d695ea4f2323e7eec94e8f15
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:43:00 2012 +0200

    Add alt_representations hook to support Linked Data Autodiscovery links in HTML link/meta

    Cherry-picked from trunk with CR+LF normalized

commit c3f3676872aa7ce9805dd64cd128fde00a2f9369
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:33:25 2012 +0200

    Implement new style project_rdf_metadata hook using real ARC2 resources

    Cherry-picked from trunk and removed changes to OSLC plugin

commit a172a633e4fd6379189728acd8ab266974c07e52
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:30:02 2012 +0200

    Add general include utility for ARC2 for RDF processing

    Cherry-picked from trunk

commit 3bf8f9801b0c2934e204aac8cc34c264f2caddc9
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:26:16 2012 +0200

    Try normalizing to LF for PHP files

commit 23bd63f61de54bf351d10ad260d4c95400f40686
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:22:40 2012 +0200

    Test removing .php stanzas from .gitattributes
Last part of a squash of different commits related to ADMS.SW already present on trunk/master

Contains admssw initial addition

Squashed commit of the following:

commit 60477a607d17d3a655dc3c572a006b72c234805f
Author: Olivier Berger <olivier.berger@telecom-sudparis.eu>
Date:   Wed Oct 24 22:52:39 2012 +0200

    Add support for text/turtle RDF representation

commit a808cbd3e216132ffb4d8c8480789d9cf4e755f4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:01:36 2012 +0200

    A few updates

commit 449797398cd74a4557a9780307c914069925e5e5
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 23:00:29 2012 +0200

    Add 'admssw' plugin to render ADMS.SW 1.0 compatible RDF on /projects[/...]

    Cherry-picked from trunk

commit 32835792ce225fd9b08fc5955999f5bda89cd80d
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:59:45 2012 +0200

    Add support for /projects RDF rendering via content-negociation through 'content_negociated_projects_list' hook

    Cherry-picked from trunk

commit 82098e41b188855b23e23a59cc6cc05f6ca29ac4
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:57:41 2012 +0200

    Fix #me to #person

    Cherry-picked from trunk

commit c272c32904961d3ee51e7f2a9ecf8d57c8897854
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:56:37 2012 +0200

    Make use of factorized get_public_active_projects_asc()

    Cherry-picked from trunk with CR+LF normalized

commit 0ab4bbf34376bdc41cea8bac65e6e14cda09998e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:53:55 2012 +0200

    Extract from trove's full list the query for public active projects

    Cherry-picked from trunk with CR+LF normalized

commit a2a7f3479e80751b1bb8082a09ef063f2edfc13e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:52:05 2012 +0200

    Use ARC2 to construct RDF instead of home made templating

    Cherry-picked from trunk with CR+LF normalized

commit 2d4a902c823ffeda0c85be56f1f6b720460c7b6e
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:49:20 2012 +0200

    Support multiple values for relations (corresponding commit in ARC2 : https://github.com/olberger/arc2/commit/67cc82c156bb95ef066dda8fac72376ca81874d8)

    Cherry-picked from trunk with CR+LF normalized

commit 4980f9b6ae43a52de69b7d6e9afc4146efa34b35
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:47:42 2012 +0200

    Add php-arc as intially downloaded from http://arc.semsol.org/, in same version as Debian packages (20101006)

    Cherry-picked from trunk with CR+LF normalized

commit 9dcc73deb34b9718e9f9228ae7a5351446cff415
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:44:42 2012 +0200

    Add dependency on php-arc

    Cherry picked from trunk and removed changes to OSLC plugin

commit 4580345a5fa5aa94d695ea4f2323e7eec94e8f15
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:43:00 2012 +0200

    Add alt_representations hook to support Linked Data Autodiscovery links in HTML link/meta

    Cherry-picked from trunk with CR+LF normalized

commit c3f3676872aa7ce9805dd64cd128fde00a2f9369
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:33:25 2012 +0200

    Implement new style project_rdf_metadata hook using real ARC2 resources

    Cherry-picked from trunk and removed changes to OSLC plugin

commit a172a633e4fd6379189728acd8ab266974c07e52
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:30:02 2012 +0200

    Add general include utility for ARC2 for RDF processing

    Cherry-picked from trunk

commit 3bf8f9801b0c2934e204aac8cc34c264f2caddc9
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:26:16 2012 +0200

    Try normalizing to LF for PHP files

commit 23bd63f61de54bf351d10ad260d4c95400f40686
Author: Olivier Berger <olivier.berger@it-sudparis.eu>
Date:   Fri Oct 19 22:22:40 2012 +0200

    Test removing .php stanzas from .gitattributes
Update to the base of the admssw from 5.2 branch.

Merge commit 'bbb4035e40b85090da52cebc85dbae568a09aeee' into new-master-admssw
Exclude templates from list of accessible projects
Some tiny fix and addition of date property setter
Document alt_representations hook
Fix namespace order
Redirect /projects to /softwaremap when for HTML
Add content-negociation hooks for frs/ and frs/download.php

factorize and cleanup some expressions

Allow content-negociation on /softwaremap/trove_list.php
Better comments

Add missing docs for content_negociated_projects_list hook
Add a hook for softwaremap submenu entries
Make sure alternate links are also displayed for /projects/PROJNAME
Improved ADMS.SW plugin (and doaprdf depending on it)

Improve constructor for FRSFileType loading data from DB

Make sure the classes can be subclassed

URLencode file names (solves spaces in file names issue)

Add navigation menus

Fix meta->alternate

Make sure RDF description of a single project is extensive, while still rather minimal in default project list

Oops, relax privateness of some methods

Add new class for Trove categories

I don't particularly like camelCase, but let's be consistent anyway

Fix alternate representation URLs
Ship www/ subdirectory in packages

Ship www/ symlink in packages

Rename the file appropriately

Add missing dependency on libgraphite-php
Comments and other bits of docs
Add ARC2 dependency for daoprdf, foafprofile and admssw
Adjust template to trunk/master convention
Remove duplicates
Update the adms.sw plugin and dependencies

Merge branch 'master-admssw' from olberger's repo into master

Reflects the changes synced to contents of olberger's 5.2.2-admssw as of 36f403e75b704b91f2b549a2ac27e0466d11f69b dating of 2013-08-19

Squashed some of the commits to make it hopefully more consistent and proof-readable.