Update rails to 3.2.12 and json to 1.7.7.

 - Enforce Typhoeus version.
Define the maximum number of words for Post#title factory.