Add validation for file and image size and extension.

#14 
This is the start:
![selection_089](https://cloud.githubusercontent.com/assets/1222368/3508892/155d0a78-0692-11e4-805b-06d920841d3e.png)