Ip address more configurations

Changed 

LOCAL=$(ipconfig getifaddr en0 || ipconfig getifaddr en1)

to

LOCAL=$(ifconfig | grep -A 1 "en" | grep broadcast | cut -d " " -f 2 | tr "\\n" " ")

This covers my edge case where my thunderbolt interface is en2, and my wifi card is en0.

If there is more than one local interface, all IP's are shown with a space as a seperator.

Code grabbed from http://dferg.us/ip-address-workflow/#comment-186 and edited a little.