Import export

![screen shot 2014-02-06 at 4 22 51 pm](https://f.cloud.github.com/assets/597897/2103977/151b99ce-8f75-11e3-99b9-188024ce742a.png)

you'll notice some changes to main.go, daemon.go, and blocks.go

*main.go*:
- added the -config option that allows the loading of exported ST json files

*daemon.go*
- added /export: this handle produces a JSON representation of the block system that includes rules
- added /import: this handle receives a JSON post created by /export. If there are naming conflicts, /import ensures that the incoming block system has unique IDs and updates them accordingly (appends _x, where x is the next unique number for that block)
- due to these changes, an update had to occur in the connection handler, as the connection handler did not save routes when connecting a block to a set_rule route. 
- a change in the ID handler also had to be made, as the ID service would still try to give an unnamed block or connection an ID that may already exist. For example, if you imported a blocksystem that had a block ID of 1, and then went to create a connection, it would try create a connection with an ID of 1. Now, when IDs are generated, it checks the blockmap before returning an ID. 

*blocks.go*
- had to change the types for the inblocks/outblocks maps, as they now hold the route that the connection is attached to.