Webcam fixes

I tested it with just a static image since i dont own an ipcam but it should do the trick.

I suggest reading up on the flask framework a little to get a better understanding of how it works.
http://flask.pocoo.org/docs/quickstart/
specificly http://flask.pocoo.org/docs/quickstart/#rendering-templates