Adding options for separate client/server websocket settings
Merge pull request #531 from jprjr/master

Add options for separate client/server websocket settings
SSL detection correction

$protocol always equals 'https' because $_SERVER['HTTPS'] !== 'off' always evaluates to true which causes the shared links to always use https even if the server doesn't use ssl.
Merge pull request #545 from smandon/sma-bugcorrection

SSL detection correction
Massive rework of the shares storage & metadata => ability to build many links/workspace on each node, ability to move nodes without breaking (at least nodes directly shared, should be expanded to the children...), event forwarding to shared workspaces. To be tested extensively, particularly migration from old metadata format to new one. To be tested : URL shorteners.
One session per window in minisite makes it more convenient. Could be generalized to standard window.
Check if node exists when send unique file.
Do not use func()[0] for old php versions
AjxpPane image background: get defaultImage from parameter
ShareCenter: always write the RewriteRules in the htaccess. Set default images for download link.
ActionsManager / ActionsToolbar refactoring to handle a "local" datamodel. To be even more simplified if possible. Use it in RepositoryEditor to display a tab with all shares of the current edited workspace.
Change depandancy of action.cart
Conf/Auth driver : use a "ajxp.hidden" property to generally ignore all internal users created by minisites. Add powerfull methods to query repositories (directly in sql when possible).
Encapsulate new listRepositoriesWithCriteria() methods in ConfService. Use in ajxp_conf
Use new methods in action.share and access.ajxp_conf
In ShareStore methods, pass userId instead of object.
Silently ignore wrong results in lucene.
Make sure the user object is not null - see previous commits.
Do not authorize ajxp_user repo by default ( = dashboard )
Disable "switch_to_dashboard_action" if repo is not allowed.
Update TPL access. Should be written at install time, along with the default charset.
Base for repository-specific authentication via a prompt dialog. Test in FTP by uncommenting the line. Could be used for the dropbox stuff.