Update composer.md

Fixed small typos
Update environment-management.md

Fixed "Available Constants" table at the bottom
Merge pull request #1356 from jedateach/patch-1

Update composer.md
Merge pull request #1357 from jedateach/patch-2

Update environment-management.md
Fixed query quoting in SQLQueryTest
Added *.gpx and *.kml to allowed_extensions (fixes installer/#33)

Also sorted exensions alphabetically
FIX Remove unnecessary DISTINCT from ManyManyList->removeAll()

Breaks Postgres if the innermost query has an ORDER BY statement as well
Correctly quote SQL in SQLQueryTest (fixes Postgresql)
Clearer docs on where SQL strings are expected to be escaped already

Also quoted some phpdoc examples, to avoid them failing by default on
stricter DB drivers like Postgres
FIX Consistently quote orderby in DataQuery->ensureSelectContainsOrderbyColumns()

Otherwise aggregate queries through DataQuery->column() fail unless the
passed in field is specifically quoted already. This fixes ManyManyListTest->testRemoveAll()
Consistently quote DataObject::$default_sort

Strictly speaking, no longer required since we auto-quote simple
field names in DataQuery now, but since the majority of sorts in core is
already quoted we should stay consistent.
FIX Empty fields on SQLQuery->aggregate() with alias

Breaks Postgres otherwise, because it produces a
"SELECT *, <field> ... " statement without putting all
fields into the GROUP BY.