Add screen edge detection

- Using information from pull request #1330 as well as in the issue conversation.
- Ignored `.map` files.

Based on code by @MattDease and @fenisteel
Would you prefer the function return the value directly or assign it to a property?
e.g 

```coffee
if @dropup_needed
      @container.addClassName "chosen-with-dropup"
```