Brand model (Pig and Java)

I created a Java and Pig implementation that supports the device brand and model additions.
I based these on the latest branch by @commenthol (Pull request #285)

In this form the unit tests for Java will fail with

         unacceptable character '�' (0xFFFD) special characters are not allowed

This is caused by several lines in the test_resources/test_device.yaml that contain those characters.
I have not fixed this in these commits because I do not know what the correct solution is for these cases.


Steve Jiang (@sjiang): Please validate this implementation as you are the java maintainer.