Purpose of pins on side edge of QFN package
When the die was attached to the leadframe and the epoxy encapsulant was molded over it, the leadframe was still connected to a larger structure (and probably to an array of other die locations). 

The metal you see from the side of the package is where the leadframe was sheared of to separate this particular package from the others.