Add missing Framework::SetInstance call in OgreAssetEditorModule's TundraPluginMain. Fixes, #400 https://github.com/realXtend/naali/issues/400
Remove erroneous todos.
Fix an instance of .xml -> .avatar
Fix typo (missing space).
Reimplement the LoadAvatar function to AvatarEditor.

Problem: Loading an avatar with attachments, and then loading an avatar without attachments seems to leave an attachment dangling in the editor gui, and makes parts of the latter avatar transparent.

Also:
 * Added .avatar to SupportedFileTypes.h and made a file filter for it.
 * Did not include *.mesh in the filter; desc->LoadFromFile could not open them.
 * Removed the deprecated, commented-out GetSaveFileName already.
 * last_directory_ looks deprecated, if so, should be removed.
Remove duplicate inclusion of LoggingFunctions.h
Use make_shared for creating UserConnections.
Move qScriptValueFromBoostSharedPtr and qScriptValueToBoostSharedPtr from JavascriptModule/ScriptMetaTypeDefines.h to QScriptEngineHelpers.h.
Expose UserConnectionPtr and UserConnectionList to QtScript. Remove Get-prefix from Server's GetUserConnections and GetAuthenticatedUsers and expose AuthenticatedUsers to scripting languages by making it a slot. This function should be used in favor of the old script hack GetConnectionIDs. Add deprecation warning prints for GetPort, GetProtocol and GetConnectionIDs.
Replace usage of server.GetConnectionIDs with server.AuthenticatedUsers in the demo scenes.
Revert removal of Q_SCRIPT_DECLARE_QMETAOBJECT(UiProxyWidget, QWidget*) line I thought would be unnecessary in ScriptMetaTypeDefines.cpp. Got at least one error print from UiAPI::AddProxyWidgetToScene for passing null widget when running AvatarApplication that does not appear with this code line in place.
Fix erroneous delete of the real asset transfer if both a real and a virtual asset transfer exist for the same asset.
Add notes/todos that the connectionID parameter in Server's signals are unnecessary as it can be retrieved from connection parameter. Rename Client's GetAllLoginProperties to LoginProperties.
Migrate to using client.LoginProperty and client.connectionId instead of GetLoginProperty and GetConnectionID.
Add todos for exposing Client::LoginPropertyMap to QtScript.
Script profiling: New overloadable function in IScriptInstance that returns map of debug data. Profiler shows this information in a new 'Scripts' tab. This shows various info about the object tree of the script, easy to read if scripts are leaking mem as shows deltas for changes and totals for objects. Python scripts atm do not return any debug data, this has to be implemented if it is desired (and handled in profiler if the return data map has different keys).
Script profiling: Remove unneeded linkage to jsmodule, we can do everything we want with EC_Script.
SerialDevicePlugin additional functions for Open, Read, Write on device
Merge pull request #1 from markoskisaso/admino_serialports

SerialDevicePlugin additional functions for Open, Read, Write on device
Allow starting the Avatar Editor from View->Avatar Editor.

Notes:
 * I kept EditAvatar and ToggleAvatarEditorWindow separate in case we later want to open the editor without loading the avatar infromation again.
 * Saving and loading window position for the avatar editor is unimplemented - it would be exactly the same code as in SceneStructureModule, and this common code should quite possibly only be written once.
 * editavatar console command is kept, with new EditAvatarConsole function, which just calls EditAvatar and ToggleAvatarEditorWindow (like picking from menu does).