AML: Remove legacy amlplayer

Conflicts:
	configure.in
	xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
	xbmc/cores/amlplayer/AMLPlayer.cpp
	xbmc/cores/amlplayer/AMLPlayer.h
	xbmc/cores/amlplayer/DllLibamplayer.h
	xbmc/cores/amlplayer/FileURLProtocol.cpp
	xbmc/cores/amlplayer/FileURLProtocol.h
	xbmc/cores/amlplayer/Makefile.in
	xbmc/cores/playercorefactory/PlayerCoreFactory.cpp
	xbmc/input/linux/LinuxInputDevices.cpp
revert hdhomerun/udp streams to DVDPlayer
AE: Don't map everthing to 44100 or 48000 on Amlogic M6

Based on: 1177bab42e37bd703d5c4d74515c7ecae1a3066d

Alsa/kernel does not lie. The problem resides in aml_pcm.c in aml soc sound driver.
AE: Remove stale HAS_AMLPLAYER
Network Cache Redux (PR1388)

Based on PR 831

PR 831 Inclusions (credit goes to bobo1on1):

- Use Free Ram Percentage as Buffer Size
- Adjust Read Rate Based On Max Bitrate

Enhancements to PR 831:

- move variables over to advanced settings under <network> section ("alwaysforcebuffer" default false and "freememorycachepercent" default 50% max 80% with hard limit of 1GB and 0 value will force filecache. It also removes "cachemembuffersize" variable as it is no longer needed)

- "alwaysforcebuffer" variable will cache everything run through dvdplayer (i.e. OS network shares, local media, etc) except Optical Media Drives

- Memory buffer is straight percentage of free ram (i.e. if 50% free ram is used ~75% of the 50% will be forward looking buffer and ~25% of the 50% will be back buffer)

- Rate limiting which fixes SMB issues with PR 831 as far as I can tell (no issues with testing for 1+ months on Windows, Linux and ATV2 devices) (1.25 times max bitrate up to 40 MB/s in which case it is throttled to max bitrate)

- ios and linux fixes

Advanced Settings Notes: This PR adds 2 setting under advanced settings and removes the "cachemembuffersize" setting as it is no longer needed. The added settings are as follows:

1. alwaysforcebuffer: This will force everything ran through dvdplayer to be buffered that would not be normal buffered except Optical Media.  This includes SMB, Local Files, OS Network Shares, etc.  The current default is false due to it not really being a help to people who use hardwired connections (as they probably do not need buffering for SMB, etc).

2. "freememorycachepercent": The amount of free memory to use as buffer size.  Please note that of the percentage of free memory used ~75% will be used for forward buffering and ~25% will be used for the back buffer.  The default is 50% which is a good default for memory limted devices such as the atv2.  The max is 80 percent and there is a hard limit of 1GB buffer size irregardless of free ram.  Setting it to 0 will force filecaching (same as the way cachemembuffersize was used)
[airplay/airtunes] - backup volume on airplay/airtunes volume change and restore it on playback stop
[airplay] - don't indicate volume restore in gui
[airtunes] - use the temp password var when starting the airtunes server for not activating password protection in accident when its disabled via gui
[PVR] add possibility to start liveTV or PVR radio playback via cAction and keymaps.

When called, it first tries to play the last watched channel - if this fails/is not available it uses the first channel of the current channel group.
[PVR] improve kaitoast error messages on PVR playback issues by naming the channel or playbacktype that failed
fixed Ticket #14663 - Hebrew letter [ק](uni05E7) left is trimmed. It's a bug in DejaVuSans.ttf after version 2.33. Use 2.32 to rebuild arial.ttf.
deinitialize SMB before suspend

Conflicts:
	xbmc/Application.cpp
deinitialize NFS,AFP and SFTP before suspend

Conflicts:
	xbmc/Application.cpp
fixed: Streamdetails & resume-bookmark saving etc. for bluray eg. folders didn't work (fixes #14288)

Conflicts:
	xbmc/utils/SaveFileStateJob.h
Remove sneaked in in function