Add CRUD for shops (working, tests missing)
Use Shop.list to load WebShops from search query. Fails:

== Error displayed in browser ==

[StringIndexOutOfBoundsException: String index out of range: 35]
In /home/magro/proj/play-webshop/app/models/activate/Shops.scala at line 28.
25}
26
27@Alias("shop")
28class Shop(
29  var name: String,
30  var url: String,
31  var queryUrlTemplate: String,
32  var imageUrlBase: Option[String],
33  var active: Boolean = false,

== Error displayed in console ==

play.api.Application$$anon$1: Execution exception[[StringIndexOutOfBoundsException: String index out of range: 35]]
        at play.api.Application$class.handleError(Application.scala:293) ~[play_2.10.jar:2.2.0]
        at play.api.DefaultApplication.handleError(Application.scala:399) [play_2.10.jar:2.2.0]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:165) [play_2.10.jar:2.2.0]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:162) [play_2.10.jar:2.2.0]
        at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [scala-library.jar:na]
        at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185) [scala-library.jar:na]
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 35
        at java.lang.String.substring(String.java:1907) ~[na:1.7.0_40]
        at net.fwbrasil.activate.entity.Entity$class.creationTimestamp(Entity.scala:125) ~[activate-core_2.10-1.4.2.jar:1.4.2]
        at models.activate.Shop.creationTimestamp(Shops.scala:28) ~[activate-core_2.10-1.4.2.jar:na]
        at net.fwbrasil.activate.entity.Entity$class.creationDate(Entity.scala:126) ~[activate-core_2.10-1.4.2.jar:1.4.2]
        at models.activate.Shop.creationDate(Shops.scala:28) ~[activate-core_2.10-1.4.2.jar:na]
        at models.activate.Shop$$anonfun$findAll$1$$anonfun$apply$2.apply(Shops.scala:48) ~[classes/:na]

== Data stored in the database (from seed migration) ==

play-webshop> select * from shop;
-----------------------------------------------+--------+-------------------+---------------------------+-----------------------------------------+--------------------------------+--------------+---------------------+-----------------------------------+----------------------------------------------------------------------+---------------------------+
                      id                       | active |  detailsUrlXPath  |       imageUrlBase        |              imageUrlXPath              |           itemXPath            |     name     |      nameXPath      |            priceXPath             |                           queryUrlTemplate                           |            url            |
-----------------------------------------------+--------+-------------------+---------------------------+-----------------------------------------+--------------------------------+--------------+---------------------+-----------------------------------+----------------------------------------------------------------------+---------------------------+
 2e9ecb69-384e-11e3-a0aa-2588515f4024-35daf600 | f      | .//a[@href]/@href | http://www.fcsp-shop.com/ | .//a/img[@data-original]/@data-original | //body//*[@class='plist-item'] | FC St. Pauli | .//a/img[@alt]/@alt | .//*[@class='plist-price']/text() | http://www.fcsp-shop.com/advanced_search_result.php?keywords={query} | http://www.fcsp-shop.com/ |
-----------------------------------------------+--------+-------------------+---------------------------+-----------------------------------------+--------------------------------+--------------+---------------------+-----------------------------------+----------------------------------------------------------------------+---------------------------+