Find lowest value in an ordered and rotated array

Squashed commit of the following:

commit 82dd7e6f4ab4842b11e1384feab9eff4255b0ac0
Author: Ferran Garriga <ferran.garriga@truphone.com>
Date:   Tue Mar 4 10:07:59 2014 +0000

    Find lowest value in an ordered and rotated array