Added common dependecies to Ruby projects

- imagemagick and sqlite3
Add ec2tools to base

- Install it by default on all ec2 instances.
- Fix dependency for mongodb cpan package.