Merge pull request #40 from stevemyers/smyers-fix

Replaced ByteInputStream with ByteArrayInputStream
added dependency to javafx maven plugin

This is to get around javafx-maven-plugin issue with latest maven
version. see:
http://stackoverflow.com/questions/19407959/javafx-maven-plugin-and-api-
incompatibility