STOCK PURCHASE AGREEMENT between TRIANGLE PETROLEUM CORPORATION and TIAA OIL AND GAS INVESTMENTS, LLC dated as of August 6, 2013