adding media selector pattern

New media selector pattern and javascript module for forms

![image](https://cloud.githubusercontent.com/assets/1566749/4082239/daca32ba-2eef-11e4-8ade-d66ec9f55c7e.png)