Added protocol rsl366

I've fixed all issues you mentioned. Should be ready to merge. Thanks for bearing with me :)

Adding the comment from the previous pull request:
I've added a protocol for the RSL366R sockets. The protocol has been requested [on the forum](http://forum.pilight.org/Thread-RSL366T-Switches). These are the same switches [RC-Switch](https://code.google.com/p/rc-switch/) was made to work with. 

The sockets have 2 selectors, each with 4 values (1 to 4) thus allowing for 16 switches to co-exist and be controlled independently. I've test all possible combinations and they work through pilight.

I've used impuls.c/h and rewritten the appropriate parts, so there might be some irrelevant leftover code from the impuls protocol. I was not quite sure what the parseCode function was supposed to do so it will benefit from some code review.