Choose if shadow is displayed when using a UIView.

Hey there,

I added a method to specify if a shadow should be added to the view.
The default behaviour does not change, by default it's added.

I did that because I need to remove the shadow for my project. Also it matches the same behaviour as for the image.

Hope that will be merge ;)

Cheers!

PS: I also fixed a warning in the demo project.