Update core/model/modx/sources/modfilemediasource.class.php

See http://tracker.modx.com/issues/8392

The base_url should not be prefixed when you setup a media source relative
Add modResource::filterPathSegment() static method

Implementation of modResource->cleanAlias moved to this new static method which will be accessible without a modResource instance
Add modX->filterPathSegment() method

Provides easy access to modResource::filterPathSegment() | modResource->cleanAlias()
Hitting Save and Uber ation with primary action gradients
Adding Primary Button Component
Adding .primary-button class
Fixed transparent input boxes on manager login page.
return the error when listing the packages is false
some es, fr and th localisation files contains UTF8 BOM - repaired

Some es, fr and th localisation files contains UTF8 BOM bytes
(http://en.wikipedia.org/wiki/Byte_order_mark), this creates mysterious
errors because this BOM bytes are returned to browser when these
localisation files are included (only whe MODX cache is empty). Special
problems this makes on custom FormIt validators, because this BOM bytes
are returned in custom validator response! I spend hours to find this
mysterious problem. I discussed this error by jan.tezner@coex.cz.
Add subtle gradients on primary actions

Merge remote-tracking branch 'origin/pr/688' into develop

* origin/pr/688:
  Adding .primary-button class
  Adding Primary Button Component
  Hitting Save and Uber ation with primary action gradients

Conflicts:
	manager/templates/default/css/index.css
Fixed transparent input boxes on manager login page

Merge remote-tracking branch 'origin/pr/690' into develop

* origin/pr/690:
  Fixed transparent input boxes on manager login page.
Add filterPathSegment() methods to modX and modResource

Merge remote-tracking branch 'origin/pr/634' into develop

* origin/pr/634:
  Add modX->filterPathSegment() method
  Add modResource::filterPathSegment() static method
Do not prepend base_url when baseUrlRelative in modFileMediaSource

Fixes http://tracker.modx.com/issues/8392
Merges #358

Merge remote-tracking branch 'origin/pr/358' into develop

* origin/pr/358:
  Update core/model/modx/sources/modfilemediasource.class.php
return the error when listing the packages is false

Merge remote-tracking branch 'origin/pr/691' into develop

* origin/pr/691:
  return the error when listing the packages is false
Remove UTF8 BOM from lexicon files

Merge remote-tracking branch 'origin/pr/692' into develop

* origin/pr/692:
  some es, fr and th localisation files contains UTF8 BOM - repaired