Ignore max_total for AdaptiveStrategy

To simplify the use of `AdaptiveStrategy`, the
total memory is used rather than the min/max'd
"active" memory. In order to modify the value,
set `use_total`. Scaling, however, cuts off at
24000.
Refactor memory methods to base class
Fix flake8 issues
Add 'use_active' flag to PercentStrategy-types

Previous commits removed the "active" memory level from
interpolation calculations, but the calculate_heap_size
method was still using "active" internally, leading to an
early cutoff.

With this, the adaptive strategy stops scaling up the
percentage of memory that it uses, but it does keep
using more memory as more is available.

Also improved docs.
Remove AdaptiveStrategy in favor of PercentStrategy

In an attempt to get this merged, AdaptiveStrategy has
been removed and the permgen logic migrated to the
PercentStrategy. In addition, the default max_total for
PercentStrategy has been bumped to 48000 which gives a
default max for blitz (assuming RAM is sufficient) of
7200MB which is close enough to our production settings
to not matter.
Merge pull request #2771 from sbesson/rebased/develop/pkg_removal

Create composite client bundles directly under target (rebased onto develop)
Merge pull request #2768 from joshmoore/rebased/develop/memo-filtered-metadata

Call setMetadataFiltered(true) for all Memoizer uses (rebased onto develop)
Merge pull request #2764 from sbesson/rebased/develop/matlab_orphan

OMERO.matlab: return orphans in getProjects()/getScreens() (rebased onto develop)
Fixed a problem with the MoviePlayerDialog
Updated copyright date
Fix advanced help alignment

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Add unit test for fake screen import using CLI

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Expect SPW: true for fake screens

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Extend fake screen test to check a more complex SPW structure

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Add unit test for import of fakes using a pattern file

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Merge pull request #2770 from sbesson/rebased/develop/gatewaytest_flake8

Flake8 fstest and gatewaytest (rebased onto develop)
Merge pull request #2781 from dominikl/rebased/develop/ticket_12389

Fixed a problem with the MoviePlayerDialog (rebased onto develop)
permissions test matlab script

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
Permissions test script for Manually annotated Database from Petr

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)
writeFileAnnotation edit's to write big/huge files as well

OME-DCO-1.1-Signed-off-by: Sebastien Besson <seb.besson@gmail.com> (github: sbesson)