How do I get rid of the ugly lines around my object?
First, it is hard to tell without your .blend file, but I believe I have a two part solution.

Part 1

Many of your nodes are repetitive and unnecessary. You would get a near-identical result with just the following. Use the Layer Weight node's slider to affect the glossiness (higher value = more glossiness).



Original node setup vs. My node setup:

 vs. 

Part 2

I assume you have Smooth Shading on, as activated in the Toolshelf. If you do, either return to Flat Shading or add a Subdivision surface object modifier.

To add such a modifier, first go to the Object Modifiers tab in the Properties panel. Select Subdivision surface from the options. Set both the View: value to 2 and the Render: value to 3.

Final modifier settings:



Smooth shaded Suzanne without any subsurf:



Smooth shaded Suzanne with subsurf at 3:



Flat shaded Suzanne: