syntax tweaks
add scriptable property to field aggs
fix code style for index patterns - use self
refactor the indexedArray code so it can be used for other fields
code style
saved_object should use self
mapper should use self
courier should use self
remove unused (and broken) courer.getFieldsFor and reference to it
remove patterncache, refactor fields

- make fetchFields 'private'
- use refreshFields to populate fields
- save after _fetchFields, not inside of it
create field types, add tabbed interface, mock scriptedFields into indexPattern
add field types
make the index pattern field tabs functional
Merge pull request #1982 from w33ble/scripted-fields

Scripted fields in index pattern