Improved getTagValue

(see also https://github.com/owncloud/apps/pull/1175)
A little fix in the scanner, which might not be able to find some tags. Especially the content-length, used by ampache to generate the http header.