added mplayer view rendering and api according to standards
updated api added initialization of the player
added function that shows the appropriate view according to the ajax response returned from the api
calling showAppropriateView() in document.ready handler
mend
Merge branch 'master' of github.com:agalazis/pi-web-agent

Conflicts:
	usr/libexec/pi-web-agent/cgi-bin/toolkit/mplayer_api.py
merged api