added EditorConfig

-> http://editorconfig.org
Merge pull request #76 from FND/editorconfig

added EditorConfig
Add image preview as supposed in #70

The idea of this is to add JavaScript code to the page which iterates over all posts and check whether there is text in the post that matches a certain pattern. This pattern would match
1.) A URL prefixed with ! which is present anywhere in the post -> regex: "/!(http[^\s]+)/gi"
2.) A valid markdown image syntax like ![alternative text](http://my.url/great-image.gif) -> regex: "/!\[(.+)\]\((http[^\s]+)\)/gi"
If a matching text is found, the code will append an <img> tag to the post to render the (potential) image
restructured internals

constants at the top, utility functions at the bottom (function hoisting
FTW - though JSLint doesn't like it)

in the process, fixed misleading variable name (`s/Name//`)
fixed stylistic compliance

* explicit variables (avoiding nested jQuery calls)
* explicit function signatures (even when unused, for readability)
* line continuations (chaining operator)
* consistent use of quotes (single quotes only for embedding doubles)
* whitespace, natch
avoided duplicate event handlers

note the inline comment: I'm not sure why an event handler is required
in the first place if we're calling `focusField` directly anyway

(can't currently test this, so flying blind here)
fix #56  Entry form doesn't allow more than 140 chars