Added timeout options to the layer check.
Changed order of warning/critical.  Using integer variables for timeouts.
Tabs to spaces.
Integer comparision.  Added max time and retry parameters to curl in order to make the check a bit more robust
Merge pull request #16 from aodn/timeouts_on_layer_check

Added timeout options to the layer check.