added support for reading remote config files. (pass a url as a directory location in the api call)
it also supports these extensions now (some are script files as they can generate output for the client)

conf|md|ini|txt|dat|config|readme|update|info|inf|nfo|data|html|php|ws|aspx|pl|py
added support for using getcontent and readconf on remote files (going to be used for remote addon repositories)
stop the readurl function from removing newlines