Creating new TypeAhead factory file and refactoring projectForm.js

- Now TypeAheads can be created easily in different views
- window.Diaphanium.TypeAheader.feed($elements, config, selectCallback)