applied patch to remove hard-coded paths
fix for issue 7 - use regular inet sockets on windows

At present, the switch to the differnet socket type is done manually in
the config.php file by setting useInetSocket=true.
added windows socket in socketmessage.php. Should factor out the socket function.
merged changes for Windows

Conflicts:
	config.php
	program_arduino.php
	socketmessage.php
Support for running on Windows.

uses TCP sockets.
Factored out open_socket.
Configuration function to handle default values.
fix sorting bug in profile table
Merge branch 'develop' of https://github.com/BrewPi/brewpi-www into develop

Conflicts:
	config.php
	maintenance-panel.php
	program_arduino.php
	socket_open.php
	socketmessage.php
fix for ds2413 devices - function list was set as if the device was a temp sensor (since it's a one wire device) - the hardware type is used to distinguish the right function.

ds2413 pin selection was not working - typo in param name and selector.
Reverse accidentally committed modication of sample data in merge by mdma
Fixed error checking when opening log files in getLogs.php
Merge branch 'develop' into feature/new-beer-chart-legend